Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "IPAM",
"image": "mcr.microsoft.com/devcontainers/go:1-1.24-bookworm",
"image": "mcr.microsoft.com/devcontainers/go:1.26-trixie",

// docker-in-docker rather than a postgres service: internal/testdb starts its
// own container, so the fixture resolves its backend identically here, on a
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build stage. Debian-based so the race detector (which requires CGO + glibc)
# can be enabled via --build-arg RACE=-race.
FROM --platform=$BUILDPLATFORM golang:1.26-bookworm AS builder
FROM --platform=$BUILDPLATFORM golang:1.26-trixie AS builder

# Build arguments for version injection
ARG VERSION=dev
Expand Down Expand Up @@ -57,7 +57,7 @@ RUN if [ -n "$RACE" ]; then \

# Runtime stage. distroless/base ships glibc so it works for both the default
# CGO_ENABLED=0 static build and the CGO_ENABLED=1 race build.
FROM gcr.io/distroless/base-debian12:nonroot
FROM gcr.io/distroless/base-debian13:nonroot

WORKDIR /
COPY --from=builder /workspace/ipam .
Expand Down
Loading