Sha256: 9deeeed755c7c1b8c3e07f9cbb0064603171fed54cc4bd931329473e4d9e56e4
Contents?: true
Size: 930 Bytes
Versions: 21
Compression:
Stored size: 930 Bytes
Contents
FROM hausgold/ruby:2.5 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 -v '~> 2.0' --no-document --no-prerelease && \ gem install bundler -v '~> 1.0' --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
21 entries across 21 versions & 7 rubygems