We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4845033 commit e4e341cCopy full SHA for e4e341c
Containerfile
@@ -1,16 +1,12 @@
1
-FROM docker.io/golang:1.25.0 AS builder
+ARG GO_VERSION=1.25.3
2
+FROM docker.io/golang:${GO_VERSION} AS builder
3
4
WORKDIR /app
5
COPY . .
6
7
RUN CGO_ENABLED=0 go build .
8
-FROM docker.io/debian:bookworm
9
-
10
-RUN apt-get update && \
11
- apt-get install -y --no-install-recommends ca-certificates curl && \
12
- apt-get clean && \
13
- rm -rf /var/lib/apt/lists/*
+FROM gcr.io/distroless/static-debian12:nonroot
14
15
COPY --from=builder /app/oxide-cloud-controller-manager /usr/bin/oxide-cloud-controller-manager
16
0 commit comments