fix: Dockerfile.initialize to reduce vulnerabilities

This commit is contained in:
snyk-bot
2026-01-28 14:05:20 +00:00
parent 209be7ff8a
commit 730f100898

View File

@@ -16,7 +16,7 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \
COPY . /build
RUN go build -ldflags "-s" -o paralus-init scripts/initialize/main.go
FROM alpine:latest AS runtime
FROM alpine:3.23.3 AS runtime
LABEL description="Run container"
WORKDIR /usr/bin
COPY --from=build /build/paralus-init /usr/bin/paralus-init