Sha256: 6455e5c2e6023453979144cbaea98fd26a6b870b4d5d59cfdeef4cef4f7fd93f

Contents?: true

Size: 1.13 KB

Versions: 50

Compression:

Stored size: 1.13 KB

Contents

FROM docker:latest
MAINTAINER Timeboard <hello@timeboard.me>

# Setting up group and user
# - envs
ARG DOCKER_GID
ARG USER_UID
ARG USER_NAME
# - fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
# - Create group & user. Then add user to group
RUN sed -i "s/999/99/" /etc/group && \
	addgroup --gid "$DOCKER_GID" "docker" && \
	adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" && \
	adduser "$USER_NAME" "docker"

# We need the following:
# - git, because that gets us the git-http-backend CGI script
# - fcgiwrap, because that is how nginx does CGI
# - spawn-fcgi, to launch fcgiwrap and to create the unix socket
RUN apk add --update git && \
	apk add --update git-daemon && \
	apk add --update ruby && \
    apk add --update fcgiwrap && \
    apk add --update spawn-fcgi && \
    rm -rf /var/cache/apk/*

RUN gem install smartcloud --no-rdoc --no-ri

# launch fcgiwrap via spawn-fcgi; launch nginx in the foreground
# so the container doesn't die on us; supposedly we should be
# using supervisord or something like that instead, but this
# will do
CMD "git, fcgiwrap & spawn-fcgi installed"

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
smartcloud-0.0.98 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.97 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.96 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.95 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.94 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.93 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.92 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.91 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.90 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.89 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.88 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.87 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.86 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.85 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.84 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.83 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.82 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.81 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.80 lib/smartcloud/grids/grid-runner/Dockerfile
smartcloud-0.0.79 lib/smartcloud/grids/grid-runner/Dockerfile