Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham authored Aug 6, 2024
1 parent 510c3d7 commit d778559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#build stage
FROM golang:1.20-buster AS builder
FROM golang:1.22-bullseye AS builder
WORKDIR /go/src/app

COPY go.sum go.mod /go/src/app/
Expand All @@ -9,7 +9,7 @@ COPY . /go/src/app
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o prom_query_federate

#final stage
FROM debian:buster-slim
FROM debian:bullseye-slim

ENV TZ=UTC \
PATH="/app:${PATH}"
Expand Down

0 comments on commit d778559

Please sign in to comment.