Skip to content

Commit

Permalink
Switch to Go1.12+ vendoring
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <knut@ahlers.me>
  • Loading branch information
Luzifer committed Nov 3, 2019
1 parent 07b98e0 commit 3d0fb11
Show file tree
Hide file tree
Showing 11 changed files with 387 additions and 514 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ RUN set -ex \
&& apk add --update \
build-base \
git \
&& go install -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)"
&& go install \
-ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \
-mod=vendor

FROM alpine:3.8

Expand Down
Loading

0 comments on commit 3d0fb11

Please sign in to comment.