Sha256: 13f038daf837fac09beae4c36e00ac32edf3ac55d9b0041a7171591a9c5bfe02
Contents?: true
Size: 1.68 KB
Versions: 1
Compression:
Stored size: 1.68 KB
Contents
FROM ruby:2.3.1-alpine MAINTAINER Ryan Schlesinger <ryan@outstand.com> RUN addgroup -S shipitron && \ adduser -S -G shipitron shipitron && \ addgroup -g 1101 docker && \ addgroup shipitron docker ENV GOSU_VERSION 1.9 ENV DUMB_INIT_VERSION 1.1.3 RUN apk add --no-cache ca-certificates gnupg && \ mkdir -p /tmp/build && \ cd /tmp/build && \ gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && \ curl -o gosu -L "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64" && \ curl -o gosu.asc -L "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64.asc" && \ gpg --verify gosu.asc && \ chmod +x gosu && \ cp gosu /bin/gosu && \ curl -O -L https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_amd64 && \ curl -O -L https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/sha256sums && \ grep dumb-init_${DUMB_INIT_VERSION}_amd64$ sha256sums | sha256sum -c && \ chmod +x dumb-init_${DUMB_INIT_VERSION}_amd64 && \ cp dumb-init_${DUMB_INIT_VERSION}_amd64 /bin/dumb-init && \ cd /tmp && \ rm -rf /tmp/build && \ apk del gnupg && \ rm -rf /root/.gnupg RUN apk add --no-cache \ build-base \ git \ perl \ bash WORKDIR /app ENV SHIPITRON_VERSION=0.2.1 RUN gem install shipitron -v ${SHIPITRON_VERSION} && \ mkdir -p /home/shipitron/.ssh && \ chown shipitron:shipitron /home/shipitron/.ssh && \ chmod 700 /home/shipitron/.ssh COPY scripts/docker-entrypoint.sh /docker-entrypoint.sh ENV DUMB_INIT_SETSID 0 ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["help"]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shipitron-0.2.1 | Dockerfile.release |