Sha256: 65ef443fa02b14f4ea6d918eedb78ea736006ea97929d96b3ddb7af6c7d2e470
Contents?: true
Size: 970 Bytes
Versions: 4
Compression:
Stored size: 970 Bytes
Contents
FROM ruby:2.6.4-alpine3.10 MAINTAINER Timeboard <hello@timeboard.me> # 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/* # Setting up user # - envs ARG USER_UID ARG USER_NAME # - Create user. RUN adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" 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 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
4 entries across 4 versions & 1 rubygems