File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM alpine:3.7
2+
3+ ENV GCSPROXY_VERSION=0.2.0
4+ RUN apk add --no-cache --virtual .build-deps ca-certificates wget \
5+ && update-ca-certificates \
6+ && wget https://github.com/daichirata/gcsproxy/releases/download/v${GCSPROXY_VERSION}/gcsproxy_${GCSPROXY_VERSION}_amd64_linux -O /usr/local/bin/gcsproxy \
7+ && chmod +x /usr/local/bin/gcsproxy \
8+ && apk del .build-deps
9+
10+ CMD ["gcsproxy" ]
Original file line number Diff line number Diff line change @@ -29,6 +29,22 @@ Usage of gcsproxy:
2929 -c string
3030 The path to the keyfile. If not present, client will use your default application credentials.
3131 -v Show access log
32+
33+ ```
34+
35+ ** Dockerfile example**
36+
37+ ``` dockerfile
38+ FROM alpine:3.7
39+
40+ ENV GCSPROXY_VERSION=0.2.0
41+ RUN apk add --no-cache --virtual .build-deps ca-certificates wget \
42+ && update-ca-certificates \
43+ && wget https://github.com/daichirata/gcsproxy/releases/download/v${GCSPROXY_VERSION}/gcsproxy_${GCSPROXY_VERSION}_amd64_linux -O /usr/local/bin/gcsproxy \
44+ && chmod +x /usr/local/bin/gcsproxy \
45+ && apk del .build-deps
46+
47+ CMD ["gcsproxy" ]
3248```
3349
3450** systemd example**
You can’t perform that action at this time.
0 commit comments