File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- mode : snippet -*-
2
+ # contributor : Seong Yong-ju
3
+ # name : dockerize for Alpine Images
4
+ # key : dockerize-alpine
5
+ # expand-env : ((yas-indent-line 'fixed ))
6
+ # --
7
+ RUN apk add --no-cache openssl
8
+
9
+ ENV DOCKERIZE_VERSION ${ 1 :v0.6.1 }
10
+ RUN wget https://github.com/jwilder/dockerize/releases/download/${DOCKERIZE_VERSION}/dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz \
11
+ && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz \
12
+ && rm dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz
13
+ $0
Original file line number Diff line number Diff line change
1
+ # -*- mode : snippet -*-
2
+ # contributor : Seong Yong-ju
3
+ # name : dockerize for Ubuntu Images
4
+ # key : dockerize-ubuntu
5
+ # expand-env : ((yas-indent-line 'fixed ))
6
+ # --
7
+ RUN apt-get update && apt-get install -y wget
8
+
9
+ ENV DOCKERIZE_VERSION ${ 1 :v0.6.1 }
10
+ RUN wget https://github.com/jwilder/dockerize/releases/download/${DOCKERIZE_VERSION}/dockerize-linux-amd64-${DOCKERIZE_VERSION}.tar.gz \
11
+ && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-${DOCKERIZE_VERSION}.tar.gz \
12
+ && rm dockerize-linux-amd64-${DOCKERIZE_VERSION}.tar.gz
13
+ $0
You can’t perform that action at this time.
0 commit comments