Sha256: 5eb89c2cc76b26f661f603a8d06c163435f2e1dbe8d66df47a7ff0fca9f164e6
Contents?: true
Size: 983 Bytes
Versions: 1
Compression:
Stored size: 983 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/$USER_NAME/entrypoint"; chmod +x "/home/$USER_NAME/entrypoint" # Set entrypoint ENTRYPOINT ["/home/$USER_NAME/entrypoint"] # Command to execute at container start CMD ["buildpacker", "start"]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smartcloud-0.0.194 | lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile |