Skip to content

Commit

Permalink
Add installation for Alpine images
Browse files Browse the repository at this point in the history
For me it was helpful, so maybe it's worth to mention in README.md  how to use
Dockerize in Alpine-based images.
  • Loading branch information
mstrzele committed Mar 28, 2017
1 parent aa855b4 commit 5ec5b8d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
&& rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
```

For Alpine Images:

``` Dockerfile
RUN apk add --no-cache openssl

ENV DOCKERIZE_VERSION v0.3.0
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
```

## Docker Base Image

The `jwilder/dockerize` image is a base image that can be used that is based on `alpine linux`. `dockerize` is installed in the `$PATH` and can be used directly.
Expand Down

0 comments on commit 5ec5b8d

Please sign in to comment.