Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 4cf0f28

Browse files
committed
[docs] Update Go tool installation for Go1.17
Signed-off-by: Knut Ahlers <knut@ahlers.me>
1 parent f05762a commit 4cf0f28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN set -ex \
8282
# docker build --build-arg VAULT_ADDR=${VAULT_ADDR} --build-arg VAULT_TOKEN=${VAULT_TOKEN} --no-cache .
8383
```
8484

85-
### Dockerfile example (go get)
85+
### Dockerfile example (go install)
8686

8787
In this example the `VAULT_TOKEN` is passed in through a build-arg which means you **MUST** revoke the token before pushing the image, otherwise you will be leaking an active credential!
8888

@@ -94,7 +94,7 @@ ARG VAULT_TOKEN
9494

9595
RUN set -ex \
9696
&& apk --no-cache add git \
97-
&& go get -u -v github.com/Luzifer/git-credential-vault \
97+
&& go install github.com/Luzifer/git-credential-vault@latest \
9898
&& git config --global credential.helper 'vault --vault-path-prefix secret/git-credentials'
9999

100100
RUN set -ex \

0 commit comments

Comments
 (0)