Skip to content

Commit

Permalink
Merge pull request #3 from alex123012/multistage-build
Browse files Browse the repository at this point in the history
Fix arch bugs in go build
  • Loading branch information
sudoroot-null authored Apr 27, 2023
2 parents 9d49112 + 37d1ec2 commit 28075be
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 @@ LABEL Andrey Kolashtov <[email protected]>
ADD . /redis-sentinel-proxy/
WORKDIR /redis-sentinel-proxy
RUN go mod init redis-sentinel-proxy && \
go build -o redis-sentinel-proxy .
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o redis-sentinel-proxy .

FROM alpine:3.14

Expand Down

0 comments on commit 28075be

Please sign in to comment.