Skip to content

Commit

Permalink
Update alpine Docker tag to v3.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and Zoey2936 committed Dec 6, 2024
1 parent 395140a commit 81f8d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:labs
FROM --platform="$BUILDPLATFORM" alpine:3.20.3 AS build
FROM --platform="$BUILDPLATFORM" alpine:3.21.0 AS build
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ARG NODE_ENV=production \
W2D_VERSION=v0.10.28 \
Expand All @@ -19,14 +19,14 @@ RUN apk upgrade --no-cache -a && \
fi && \
yarn cache clean --all && \
clean-modules --yes
FROM alpine:3.20.3 AS strip
FROM alpine:3.21.0 AS strip
COPY --from=build /app /app
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates binutils file && \
find /app/node_modules -name "*.node" -type f -exec strip -s {} \; && \
find /app/node_modules -name "*.node" -type f -exec file {} \;

FROM alpine:3.20.3
FROM alpine:3.21.0
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini nodejs-current
COPY --from=strip /app /app
Expand Down

0 comments on commit 81f8d68

Please sign in to comment.