Created
June 25, 2018 06:43
-
-
Save balintsera/33e50923b8ea3ec03b5f4f90b515f1ff to your computer and use it in GitHub Desktop.
Gitlab docker-in-docker builder image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
MAINTAINER [email protected] | |
# image: customrepo/docker-builder | |
RUN apt-get update -y | |
RUN apt-get install -y curl ssh-client | |
# docker | |
ENV DOCKER_BUCKET get.docker.com | |
ENV DOCKER_VERSION 17.06.2-ce | |
RUN set -x \ | |
&& curl -fSL "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz" -o docker.tgz \ | |
&& tar -xzvf docker.tgz \ | |
&& mv docker/* /usr/local/bin/ \ | |
&& rmdir docker \ | |
&& rm docker.tgz \ | |
&& docker -v | |
CMD top |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment