Sha256: 6480d5aaa85c64d4b44bf7cff41b5ded5fbff06adb18b261694390e73b70dbe5

Contents?: true

Size: 916 Bytes

Versions: 1

Compression:

Stored size: 916 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"

# 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 "$@"' >> /entrypoint; chmod +x /entrypoint

# Set entrypoint
ENTRYPOINT ["/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.192 lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile