From 8bb3d0a4efd28aeb1d2e4e048b518c474464e8ca Mon Sep 17 00:00:00 2001 From: nhal Date: Fri, 3 Nov 2017 15:30:44 +0100 Subject: [PATCH] Changed the starting version of the dockerfile from alpine to the official docker image in order to cleanup the dockerfile. --- Dockerfile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 293a83f..625b6f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,6 @@ -FROM gliderlabs/alpine:3.2 +FROM library/docker:17.09.0-ce -ENV DOCKER_VERSION 17.09.0-ce - -# We get curl so that we can avoid a separate ADD to fetch the Docker binary, and then we'll remove it -RUN apk --update add bash curl \ - && cd /tmp/ \ - && curl -sSL -O https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz \ - && tar zxf docker-${DOCKER_VERSION}.tgz \ - && mkdir -p /usr/local/bin/ \ - && mv $(find -name 'docker' -type f) /usr/local/bin/ \ - && chmod +x /usr/local/bin/docker \ - && apk del curl \ - && rm -rf /tmp/* \ - && rm -rf /var/cache/apk/* +RUN apk --update add bash COPY ./docker-gc /docker-gc