Skip to content

Commit

Permalink
Update docker file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Mar 9, 2024
1 parent 7b92ae0 commit fd0fa36
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye as builder
FROM golang:1.20-bookworm as builder

WORKDIR /app

Expand All @@ -10,7 +10,9 @@ COPY . .

RUN go build

FROM debian:bullseye-slim
FROM debian:bookworm-slim

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt install -y ca-certificates && apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /app

Expand Down

0 comments on commit fd0fa36

Please sign in to comment.