Sha256: 90d655d901ac5859191dc5ad62d3579fc5b3fdcdfc2117b9c5be14662dcfa65b

Contents?: true

Size: 1.38 KB

Versions: 10

Compression:

Stored size: 1.38 KB

Contents

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

# Update system gem
RUN gem update --system '3.4.22'

# Add backports repository
RUN echo 'deb http://archive.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 -v '~> 2.4.22' --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

10 entries across 10 versions & 1 rubygems

Version Path
rimless-1.8.0 doc/kafka-playground/Dockerfile
rimless-1.7.7 doc/kafka-playground/Dockerfile
rimless-1.7.6 doc/kafka-playground/Dockerfile
rimless-1.7.5 doc/kafka-playground/Dockerfile
rimless-1.7.4 doc/kafka-playground/Dockerfile
rimless-1.7.3 doc/kafka-playground/Dockerfile
rimless-1.7.2 doc/kafka-playground/Dockerfile
rimless-1.7.1 doc/kafka-playground/Dockerfile
rimless-1.7.0 doc/kafka-playground/Dockerfile
rimless-1.6.0 doc/kafka-playground/Dockerfile