Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Commit

Permalink
Add a DinD image based on Alpine linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-kretschmer-c2fo committed Mar 23, 2015
1 parent 2629a28 commit b13dd13
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM gliderlabs/alpine
MAINTAINER platform-eng@c2fo.com

# Let's start with some basic stuff.
RUN apk-install iptables ca-certificates lxc e2fsprogs

# Install Docker from Alpine repos
RUN apk-install docker

# Install the magic wrapper.
ADD ./wrapdocker /usr/local/bin/wrapdocker
RUN chmod +x /usr/local/bin/wrapdocker

# Define additional metadata for our image.
VOLUME /var/lib/docker
CMD ["wrapdocker"]

5 changes: 5 additions & 0 deletions alpine/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

cp ../wrapdocker .
docker build -t dind_alpine .
rm wrapdocker

0 comments on commit b13dd13

Please sign in to comment.