File tree Expand file tree Collapse file tree 2 files changed +12
-19
lines changed Expand file tree Collapse file tree 2 files changed +12
-19
lines changed Original file line number Diff line number Diff line change 1- FROM debian:wheezy
1+ FROM alpine:latest
22MAINTAINER Jason Wilder <mail@jasonwilder.com>
33
4+ RUN apk -U add openssl
5+
46ENV VERSION 0.7.1
5- ENV DOWNLOAD_URL https://github.com/jwilder/docker-gen/releases/download/$VERSION/docker-gen-linux-amd64-$VERSION.tar.gz
7+ ENV DOWNLOAD_URL https://github.com/jwilder/docker-gen/releases/download/$VERSION/docker-gen-alpine- linux-amd64-$VERSION.tar.gz
68ENV DOCKER_HOST unix:///tmp/docker.sock
79
8- RUN deps=' \
9- curl ca-certificates \
10- ' ; \
11- set -x; \
12- apt-get update \
13- && apt-get install -y --no-install-recommends $deps \
14- && curl -L $DOWNLOAD_URL | tar -C /usr/local/bin -xvz \
15- && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $deps \
16- && apt-get clean -y \
17- && rm -rf /var/lib/apt/lists/*
10+ RUN wget -qO- $DOWNLOAD_URL | tar xvz -C /usr/local/bin
1811
1912ENTRYPOINT ["/usr/local/bin/docker-gen" ]
Original file line number Diff line number Diff line change 11docker-gen
22=====
33
4- ![ latest 0.7.1 ] ( https://img.shields.io/badge/latest-0.7.1 -green.svg?style=flat )
4+ ![ latest 0.7.2 ] ( https://img.shields.io/badge/latest-0.7.2 -green.svg?style=flat )
55[ ![ Build Status] ( https://travis-ci.org/jwilder/docker-gen.svg?branch=master )] ( https://travis-ci.org/jwilder/docker-gen )
66![ License MIT] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat )
77
@@ -25,17 +25,17 @@ There are three common ways to run docker-gen:
2525
2626#### Host Install
2727
28- Linux/OSX binaries for release [ 0.7.1 ] ( https://github.com/jwilder/docker-gen/releases )
28+ Linux/OSX binaries for release [ 0.7.2 ] ( https://github.com/jwilder/docker-gen/releases )
2929
30- * [ amd64] ( https://github.com/jwilder/docker-gen/releases/download/0.7.1 /docker-gen-linux-amd64-0.7.1 .tar.gz )
31- * [ i386] ( https://github.com/jwilder/docker-gen/releases/download/0.7.1 /docker-gen-linux-i386-0.7.1 .tar.gz )
32- * [ alpine-linux] ( https://github.com/jwilder/docker-gen/releases/download/0.7.1 /docker-gen-alpine-linux-amd64-0.7.1 .tar.gz )
30+ * [ amd64] ( https://github.com/jwilder/docker-gen/releases/download/0.7.2 /docker-gen-linux-amd64-0.7.2 .tar.gz )
31+ * [ i386] ( https://github.com/jwilder/docker-gen/releases/download/0.7.2 /docker-gen-linux-i386-0.7.2 .tar.gz )
32+ * [ alpine-linux] ( https://github.com/jwilder/docker-gen/releases/download/0.7.2 /docker-gen-alpine-linux-amd64-0.7.2 .tar.gz )
3333
3434Download the version you need, untar, and install to your PATH.
3535
3636```
37- $ wget https://github.com/jwilder/docker-gen/releases/download/0.7.1 /docker-gen-linux-amd64-0.7.1 .tar.gz
38- $ tar xvzf docker-gen-linux-amd64-0.7.1 .tar.gz
37+ $ wget https://github.com/jwilder/docker-gen/releases/download/0.7.2 /docker-gen-linux-amd64-0.7.2 .tar.gz
38+ $ tar xvzf docker-gen-linux-amd64-0.7.2 .tar.gz
3939$ ./docker-gen
4040```
4141
You can’t perform that action at this time.
0 commit comments