Skip to content

Commit

Permalink
CR fix, use latest debian container
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Troshin <[email protected]>
  • Loading branch information
antontroshin committed Jul 24, 2024
1 parent 99e07f1 commit c2a7d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/distributed-calculator/go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#first stage - builder
FROM golang:1.19-buster as builder
FROM golang:1.22-bookworm as builder
WORKDIR /dir
COPY app.go go.mod go.sum ./
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
#second stage
FROM debian:buster-slim
FROM debian:bookworm-slim
WORKDIR /root/
COPY --from=builder /dir/app .
CMD ["./app"]

0 comments on commit c2a7d3f

Please sign in to comment.