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
2
2
MAINTAINER Jason Wilder <
[email protected] >
3
3
4
+ RUN apk -U add openssl
5
+
4
6
ENV 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
6
8
ENV DOCKER_HOST unix:///tmp/docker.sock
7
9
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
18
11
19
12
ENTRYPOINT ["/usr/local/bin/docker-gen" ]
Original file line number Diff line number Diff line change 1
1
docker-gen
2
2
=====
3
3
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 )
5
5
[ ![ Build Status] ( https://travis-ci.org/jwilder/docker-gen.svg?branch=master )] ( https://travis-ci.org/jwilder/docker-gen )
6
6
![ License MIT] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat )
7
7
@@ -25,17 +25,17 @@ There are three common ways to run docker-gen:
25
25
26
26
#### Host Install
27
27
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 )
29
29
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 )
33
33
34
34
Download the version you need, untar, and install to your PATH.
35
35
36
36
```
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
39
39
$ ./docker-gen
40
40
```
41
41
You can’t perform that action at this time.
0 commit comments