File tree Expand file tree Collapse file tree 2 files changed +18
-12
lines changed Expand file tree Collapse file tree 2 files changed +18
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # -*- mode : snippet -*-
2+ # name : dockerize
3+ # key : dockerize
4+ # expand-env : ((yas-indent-line 'fixed ) (yas-wrap-around-region nil ))
5+ # --
6+
7+ ENV DOCKERIZE_VERSION ${ 1 :v0.6.1 }
8+
9+ `(pcase (yas-choose-value " ubuntu" " alpine" )
10+ (" ubuntu" (concat
11+ " RUN wget https://github.com/jwilder/dockerize/releases/download/${DOCKERIZE_VERSION}/dockerize-linux-amd64-${DOCKERIZE_VERSION}.tar.gz && \\ \n "
12+ " tar -C /usr/local/bin -xzvf dockerize-linux-amd64-${DOCKERIZE_VERSION}.tar.gz && \\ \n "
13+ " rm dockerize-linux-amd64-${DOCKERIZE_VERSION}.tar.gz" ))
14+ (" alpine" (concat
15+ " RUN apk add --no-cache openssl && \\ \n "
16+ " wget https://github.com/jwilder/dockerize/releases/download/${DOCKERIZE_VERSION}/dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz && \\ \n "
17+ " tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz && \\ \n "
18+ " rm dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz" ))) `
You can’t perform that action at this time.
0 commit comments