Fix Dockerfile base

This commit is contained in:
Luke Kysow
2018-07-24 16:56:49 +02:00
parent 465b65ec0a
commit 0de9695ee9
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# The runatlantis/atlantis-base image is described in the Dockerfile-base image.
# The runatlantis/atlantis-base is created by docker-base/Dockerfile.
FROM runatlantis/atlantis-base:latest
LABEL authors="Anubhav Mishra, Luke Kysow"

View File

@@ -14,12 +14,12 @@ ENV ATLANTIS_HOME_DIR=/home/atlantis
ENV DUMB_INIT_VERSION=1.2.0
ENV GOSU_VERSION=1.10
RUN apk add --no-cache ca-certificates gnupg curl git unzip bash openssh libcap openssl && \
curl -L -o -s /bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_amd64 && \
curl -L -s --output /bin/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_amd64" && \
chmod +x /bin/dumb-init && \
mkdir -p /tmp/build && \
cd /tmp/build && \
curl -L -o -s gosu "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64" && \
curl -L -o -s gosu.asc "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64.asc" && \
curl -L -s --output gosu "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64" && \
curl -L -s --output gosu.asc "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64.asc" && \
for server in $(shuf -e ipv4.pool.sks-keyservers.net \
hkp://p80.pool.sks-keyservers.net:80 \
keyserver.ubuntu.com \