Skip to content

Commit

Permalink
Add git, remove .git from ignore so go build can get the revision
Browse files Browse the repository at this point in the history
  • Loading branch information
S7evinK committed Jul 10, 2023
1 parent c796f20 commit 2063074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
bin
*.wasm
.git
*.wasm
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# base installs required dependencies and runs go mod download to cache dependencies
#
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.20-alpine AS base
RUN apk --update --no-cache add bash build-base curl
RUN apk --update --no-cache add bash build-base curl git

#
# build creates all needed binaries
Expand Down

0 comments on commit 2063074

Please sign in to comment.