Sha256: 62d27b2e0610595fe453173506cd23e035000daf6bbebc89d695346c6168cd6d
Contents?: true
Size: 1.35 KB
Versions: 5
Compression:
Stored size: 1.35 KB
Contents
FROM hausgold/ruby:2.5 MAINTAINER Hermann Mayer <hermann.mayer@hausgold.de> # Update system gem RUN gem update --system # Add backports repository RUN echo 'deb http://ftp.debian.org/debian buster-backports main' \ >> /etc/apt/sources.list # Install nodejs 16 RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - # Install system packages and the ruby bundless RUN apt-get update -yqqq && \ apt-get install -y \ build-essential nodejs locales sudo vim \ ca-certificates jq curl cmake \ 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 # Install kcat (formerly known as kafkacat) RUN curl -sL https://github.com/edenhill/kcat/archive/refs/tags/1.7.0.tar.gz \ | tar xfvz - -C /tmp && cd /tmp/kcat-* && ./bootstrap.sh && \ mv kcat /usr/local/bin && cd / && rm -rf /tmp/kcat-* # Add new app user RUN mkdir /app && \ adduser app --home /home/app --shell /bin/bash \ --disabled-password --gecos "" ADD config/docker/shell/ /home/app/ RUN chown app:app -R /app /home/app /usr/local/bundle && \ mkdir -p /home/app/.ssh && \ sudo -HEu app bash -c 'bundle config set system "true"' # Set the root password and grant root access to app RUN echo 'root:root' | chpasswd RUN echo 'app ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers WORKDIR /app
Version data entries
5 entries across 5 versions & 1 rubygems