Skip to content

Commit

Permalink
fix: dockerfile update
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed Dec 6, 2024
1 parent 116213d commit 0731c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
FROM golang:1.20.12-alpine AS builder
WORKDIR /src
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 go build -o app .
RUN go mod download \
&& CGO_ENABLED=0 go build -o app .

# output container ...
FROM debian:buster-slim
Expand Down

0 comments on commit 0731c49

Please sign in to comment.