Files
docker-gc/Dockerfile
T
2015-10-29 12:56:58 -04:00

17 lines
440 B
Docker

FROM gliderlabs/alpine:3.2
ENV DOCKER_VERSION 1.6.2
# 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 \
&& curl -s https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION} > /bin/docker \
&& chmod +x /bin/docker \
&& apk del curl \
&& rm -rf /var/cache/apk/*
COPY ./docker-gc /docker-gc
VOLUME /var/lib/docker-gc
CMD ["/docker-gc"]