Skip to content

Commit

Permalink
Remove go mod init from dockerize build in base-server.Dockerfile (#…
Browse files Browse the repository at this point in the history
…2393)

Dockerize moved from using Glock to Go modules and introduced
 go.mod and go.sum files into the repository.
Therefore, the Go module initialization command has to be removed
 from the `base-server` Dockerfile as it breaks the build.

See: jwilder/dockerize@6f92b85
  • Loading branch information
marcin-maciej-seweryn authored Jan 21, 2022
1 parent 0ff1b16 commit 7e9a789
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker/base-images/base-server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN apk add --update --no-cache \
RUN mkdir -p /xsrc && \
git clone https://github.com/jwilder/dockerize.git && \
cd dockerize && \
go mod init github.com/jwilder/dockerize && \
go mod tidy && \
go build -o /usr/local/bin/dockerize . && \
rm -rf /xsrc
Expand Down

0 comments on commit 7e9a789

Please sign in to comment.