containerfile: bump base to alpine3.18 (also npm)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2023-08-08 13:33:50 +02:00
parent 649590f8af
commit a70b52dc04
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -22,7 +22,7 @@ RUN tar xf /tmp/dhall.tar.bz2 \
&& time dhall --file /tmp/exampleConfig.dhall && time dhall --file /tmp/exampleConfig.dhall
FROM docker.io/library/golang:1.20.6-alpine3.17 as go-build FROM docker.io/library/golang:1.20.6-alpine3.18 as go-build
ARG VERSION ARG VERSION
ARG BUILD_DATE ARG BUILD_DATE
ARG VCS_REF ARG VCS_REF
@ -31,7 +31,7 @@ COPY . /go/pcmt
WORKDIR /go/pcmt WORKDIR /go/pcmt
RUN apk add --no-cache npm=9.1.2-r0 \ RUN apk add --no-cache npm=9.6.6-r0 \
&& go generate -v . \ && go generate -v . \
&& CGO_ENABLED=0 \ && CGO_ENABLED=0 \
go build -v -trimpath -ldflags="-s -w -X main.version=${VERSION:-prod}" . go build -v -trimpath -ldflags="-s -w -X main.version=${VERSION:-prod}" .