Skip to content
Snippets Groups Projects

Change to debian:bookworm-slim as base image for the controller

Merged Ghost User requested to merge controller-docker-image-to-debian-bookworm-slim into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -9,7 +9,7 @@ RUN --mount=type=cache,target=/root/go/pkg/mod \
@@ -9,7 +9,7 @@ RUN --mount=type=cache,target=/root/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/root/.cache/go-build \
make build-gosdn
make build-gosdn
FROM ${GITLAB_PROXY}golang:$GOLANG_VERSION-bookworm
FROM ${GITLAB_PROXY}debian:bookworm-slim
WORKDIR /app/
WORKDIR /app/
COPY --from=builder /gosdn/controller/configs/development-gosdn.toml.example ./configs/development-gosdn.toml
COPY --from=builder /gosdn/controller/configs/development-gosdn.toml.example ./configs/development-gosdn.toml
COPY --from=builder /gosdn/controller/configs/containerlab-gosdn.toml.example ./configs/containerlab-gosdn.toml
COPY --from=builder /gosdn/controller/configs/containerlab-gosdn.toml.example ./configs/containerlab-gosdn.toml
Loading