Sha256: 967f14108de9cc604d1744772c58f84b2dd4a89f92fc6c008429136c4d0b5cd4

Contents?: true

Size: 877 Bytes

Versions: 2

Compression:

Stored size: 877 Bytes

Contents

FROM ruby:2.7.0-alpine3.11
LABEL maintainer="Timeboard <hello@timeboard.me>"

# User
# --- Fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
ARG USER_NAME
ARG USER_UID
ARG DOCKER_GID
RUN sed -i "s/999/99/" /etc/group && \
	adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" && \
	addgroup --gid "$DOCKER_GID" "docker" && adduser "$USER_NAME" "docker"

# Essentials
RUN apk add --update build-base && \
	apk add --update docker && \
	apk add --update git && \
    rm -rf /var/cache/apk/*

# smartcloud gem
ARG SMARTCLOUD_VERSION
COPY ./smartcloud-$SMARTCLOUD_VERSION.gem ./smartcloud-$SMARTCLOUD_VERSION.gem
RUN gem install --no-document smartcloud-$SMARTCLOUD_VERSION.gem && \
	rm ./smartcloud-$SMARTCLOUD_VERSION.gem

# smartcloud master key
ARG SMARTCLOUD_MASTER_KEY
ENV SMARTCLOUD_MASTER_KEY=$SMARTCLOUD_MASTER_KEY

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smartcloud-0.8.0 lib/smart_cloud/engine/Dockerfile
smartcloud-0.7.0 lib/smart_cloud/engine/Dockerfile