Sha256: 1a7e18b2e268e8590199abe6a8940c240a4583a8218fc9f9ff01da6e57f1d602

Contents?: true

Size: 849 Bytes

Versions: 5

Compression:

Stored size: 849 Bytes

Contents

FROM hausgold/ruby:2.3
MAINTAINER Hermann Mayer <hermann.mayer@hausgold.de>

# Update system gem
RUN gem update --system

# Install system packages and the latest bundler
RUN apt-get update -yqqq && \
  apt-get install -y \
    build-essential locales sudo vim \
    ca-certificates \
    bash-completion inotify-tools && \
  echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && /usr/sbin/locale-gen && \
  gem install bundler --no-document --no-prerelease

# Add new web user
RUN mkdir /app && \
  adduser web --home /home/web --shell /bin/bash \
    --disabled-password --gecos ""
COPY config/docker/* /home/web/
RUN chown web:web -R /app /home/web /usr/local/bundle && \
  mkdir -p /home/web/.ssh

# Set the root password and grant root access to web
RUN echo 'root:root' | chpasswd
RUN echo 'web ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

WORKDIR /app

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rimless-0.1.4 Dockerfile
rimless-0.1.3 Dockerfile
rimless-0.1.2 Dockerfile
rimless-0.1.1 Dockerfile
rimless-0.1.0 Dockerfile