Skip to content

Commit 74e55a6

Browse files
committed
build: use bookworm
1 parent acc37fe commit 74e55a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
FROM golang:1.25.5-alpine AS base
1+
FROM golang:1.25.5-bookworm AS base
22
WORKDIR /app
33

44
# builder
55
FROM base AS builder
6-
ENV GOOS linux
7-
ENV GOARCH amd64
86

97
# build-args
108
ARG VERSION
119

12-
RUN apk --no-cache add bash git openssh
10+
RUN apt-get update && apt-get install -y --no-install-recommends bash git openssh-client && rm -rf /var/lib/apt/lists/*
1311

1412
# modules: utilize build cache
1513
COPY go.mod ./

0 commit comments

Comments
 (0)