Sha256: 860d1f36756e01a9774c376b85fc57456fb98cdd2c391a46c150f559d2d297b0
Contents?: true
Size: 978 Bytes
Versions: 3
Compression:
Stored size: 978 Bytes
Contents
FROM ruby:2.6.4-alpine3.10 MAINTAINER Timeboard <hello@timeboard.me> # Setting up user # - envs ARG USER_UID ARG USER_NAME # - Create user. RUN adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" # Install Ruby on Rails Essentials RUN apk add --update build-base && \ apk add --update tzdata && \ apk add --update nodejs && \ apk add --update yarn && \ apk add --update mariadb-dev && \ apk add --update imagemagick && \ apk add --update ffmpeg && \ apk add --update mupdf && \ apk add --update mupdf-tools && \ rm -rf /var/cache/apk/* USER "$USER_NAME" WORKDIR "/app" # Install gems RUN gem install bundler && \ gem install god # Generating entrypoint file RUN echo -e '#!/bin/sh\n\ gem install --no-document --local smartcloud\n\ exec "$@"' >> "/home/$(whoami)/entrypoint"; chmod +x "/home/$(whoami)/entrypoint" # Set entrypoint ENTRYPOINT "/home/$(whoami)/entrypoint" # Command to execute at container start CMD ["buildpacker", "start"]
Version data entries
3 entries across 3 versions & 1 rubygems