Skip to content

Commit 8fbfe04

Browse files
committed
Add Dockerfile
1 parent aa927b2 commit 8fbfe04

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM debian:wheezy
2+
MAINTAINER Jason Wilder <[email protected]>
3+
4+
ENV VERSION 0.3.4
5+
ENV DOCKER_HOST unix:///tmp/docker.sock
6+
7+
RUN apt-get update && apt-get install -y curl && curl -o docker-gen-linux-amd64-$VERSION.tar.gz -L https://github.com/jwilder/docker-gen/releases/download/$VERSION/docker-gen-linux-amd64-$VERSION.tar.gz && apt-get remove -y curl && apt-get -y clean
8+
RUN tar -C /usr/local/bin -xvzf docker-gen-linux-amd64-$VERSION.tar.gz && rm docker-gen-linux-amd64-$VERSION.tar.gz
9+
10+
ENTRYPOINT ["/usr/local/bin/docker-gen"]

0 commit comments

Comments
 (0)