Sha256: cf9b837ceff506d358471902b846c53a4c286db63582e5114549f450879da037

Contents?: true

Size: 877 Bytes

Versions: 10

Compression:

Stored size: 877 Bytes

Contents

FROM ruby:2.6.4-alpine3.10
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

10 entries across 10 versions & 1 rubygems

Version Path
smartcloud-0.4.2 lib/smartcloud/engine/Dockerfile
smartcloud-0.4.1 lib/smartcloud/engine/Dockerfile
smartcloud-0.3.2 lib/smartcloud/engine/Dockerfile
smartcloud-0.3.1 lib/smartcloud/engine/Dockerfile
smartcloud-0.3.0 lib/smartcloud/engine/Dockerfile
smartcloud-0.2.4 lib/smartcloud/engine/Dockerfile
smartcloud-0.2.3 lib/smartcloud/engine/Dockerfile
smartcloud-0.2.2 lib/smartcloud/engine/Dockerfile
smartcloud-0.2.1 lib/smartcloud/engine/Dockerfile
smartcloud-0.2.0 lib/smartcloud/engine/Dockerfile