Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Dockerfile adaptation to official docker image #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 2 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down