Skip to content

Commit

Permalink
Bump to alpine 3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
juadde committed Mar 5, 2025
1 parent a27e32a commit 705d8c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/alpine/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-----------------BUILDER-----------------
#-----------------------------------------
FROM node:18-alpine3.17 AS builder
RUN apk add --no-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \
FROM node:18-alpine3.20 AS builder
RUN apk add --no-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.20/community/ \
python3 build-base sqlite-dev sqlite-libs imagemagick-dev libraw-dev vips-dev vips-heif vips-magick fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python && \
rm /var/cache/apk/*
COPY pigallery2-release /app
Expand All @@ -15,7 +15,7 @@ RUN mkdir -p /app/data/config && \

#-----------------MAIN--------------------
#-----------------------------------------
FROM node:18-alpine3.17 AS main
FROM node:18-alpine3.20 AS main
WORKDIR /app
ENV NODE_ENV=production \
# overrides only the default value of the settings (the actualy value can be overwritten through config.json)
Expand All @@ -27,7 +27,7 @@ ENV NODE_ENV=production \
PI_DOCKER=true

EXPOSE 80
RUN apk add --no-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \
RUN apk add --no-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.20/community/ \
vips vips-cpp vips-heif vips-magick ffmpeg && \
rm /var/cache/apk/*
COPY --from=builder /app /app
Expand Down

0 comments on commit 705d8c9

Please sign in to comment.