Sha256: 32f6a4d0bb8cc8070c0f85e25b3e0718f07b9ffacbe5fe3059279e5ffdafeae4

Contents?: true

Size: 917 Bytes

Versions: 1

Compression:

Stored size: 917 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.191 lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile