We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acc37fe commit 74e55a6Copy full SHA for 74e55a6
Dockerfile
@@ -1,15 +1,13 @@
1
-FROM golang:1.25.5-alpine AS base
+FROM golang:1.25.5-bookworm AS base
2
WORKDIR /app
3
4
# builder
5
FROM base AS builder
6
-ENV GOOS linux
7
-ENV GOARCH amd64
8
9
# build-args
10
ARG VERSION
11
12
-RUN apk --no-cache add bash git openssh
+RUN apt-get update && apt-get install -y --no-install-recommends bash git openssh-client && rm -rf /var/lib/apt/lists/*
13
14
# modules: utilize build cache
15
COPY go.mod ./
0 commit comments