Sha256: 33580d88c8f19df8946b8e40e07746ecc1a33457934d16e9f13c2181b0421a7c
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 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 RUN sed -i "s/999/99/" /etc/group # - creating group & user and changing the user RUN addgroup --gid "$DOCKER_GID" "docker" RUN adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" RUN adduser "$USER_NAME" "docker" USER "$USER_NAME" # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smartcloud-0.0.43 | lib/smartcloud/grids/grid-runner/Dockerfile |