forked from meAmidos/dcind
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
131 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# Inspired by https://github.com/mumoshu/dcind | ||
FROM alpine:3.7 | ||
FROM docker:dind | ||
|
||
LABEL maintainer.1="André Hähnel <[email protected]>" \ | ||
maintainer.2="Sebastian Mendel <[email protected]>" | ||
|
||
ENV DOCKER_VERSION=17.05.0-ce \ | ||
DOCKER_COMPOSE_VERSION=1.19.0 \ | ||
ENV DOCKER_COMPOSE_VERSION=1.19.0 \ | ||
ENTRYKIT_VERSION=0.4.0 | ||
|
||
# Install Docker and Docker Compose | ||
|
@@ -19,10 +18,7 @@ RUN apk --update --no-cache add \ | |
py-pip \ | ||
redis \ | ||
&& apk upgrade \ | ||
&& curl https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz | tar zx \ | ||
&& mv /docker/* /bin/ && chmod +x /bin/docker* \ | ||
&& pip install docker-compose==${DOCKER_COMPOSE_VERSION} \ | ||
&& pip install docker-squash \ | ||
# Install entrykit | ||
&& curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSION}/entrykit_${ENTRYKIT_VERSION}_Linux_x86_64.tgz | tar zx \ | ||
&& chmod +x entrykit \ | ||
|
@@ -41,5 +37,5 @@ ENTRYPOINT [ \ | |
"switch", \ | ||
"shell=/bin/sh", "--", \ | ||
"codep", \ | ||
"/bin/dockerd" \ | ||
"/usr/local/bin/dockerd" \ | ||
] |
This file contains 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