Skip to content

Commit

Permalink
Dockerfile- use go install for statik
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Sep 7, 2020
1 parent ef1fa48 commit 0e2d384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY . .
RUN apk add --no-cache git gcc musl-dev \
&& export VCS_REF=$(git tag --points-at HEAD) \
&& echo $VCS_REF \
&& go get -u github.com/rakyll/statik \
&& go install -v github.com/rakyll/statik \
&& $GOPATH/bin/statik -src="./www/" \
&& go get -u . \
&& CGO_ENABLED=1 go build -ldflags "-s -w -X main.Version=$VCS_REF" .
Expand Down

0 comments on commit 0e2d384

Please sign in to comment.