Sha256: 77021aa969470c645d04c46aadd47f50d0751deb5265597029753e3ee04bae6a
Contents?: true
Size: 958 Bytes
Versions: 2
Compression:
Stored size: 958 Bytes
Contents
FROM docker:latest MAINTAINER Timeboard <hello@timeboard.me> # Setting up group and user ARG DOCKER_GID ARG USER_UID ARG USER_NAME RUN addgroup --gid "$DOCKER_GID" "docker" RUN adduser --disabled-password --gecos "" --add_extra_groups "docker" --uid "$USER_UID" "$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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smartcloud-0.0.35 | lib/smartcloud/grids/grid-runner/Dockerfile |
smartcloud-0.0.32 | lib/smartcloud/grids/grid-runner/Dockerfile |