mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
trying alpine v3.17 on linux/arm/v7 #295
This commit is contained in:
parent
95eccade0e
commit
ffba3c3aef
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -95,7 +95,7 @@ jobs:
|
|||||||
container: [alpine, debian-buster, debian-bullseye ]
|
container: [alpine, debian-buster, debian-bullseye ]
|
||||||
include:
|
include:
|
||||||
- container: alpine
|
- container: alpine
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
- container: debian-buster
|
- container: debian-buster
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
- container: debian-bullseye
|
- container: debian-bullseye
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#-----------------BUILDER-----------------
|
#-----------------BUILDER-----------------
|
||||||
#-----------------------------------------
|
#-----------------------------------------
|
||||||
FROM node:18-alpine3.16 AS builder
|
FROM node:18-alpine3.17 AS builder
|
||||||
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.16/community/ \
|
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \
|
||||||
python3 build-base sqlite-dev sqlite-libs vips-dev fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python
|
python3 build-base sqlite-dev sqlite-libs vips-dev fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python
|
||||||
COPY pigallery2-release /app
|
COPY pigallery2-release /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -14,7 +14,7 @@ RUN mkdir -p /app/data/config && \
|
|||||||
|
|
||||||
#-----------------MAIN--------------------
|
#-----------------MAIN--------------------
|
||||||
#-----------------------------------------
|
#-----------------------------------------
|
||||||
FROM node:18-alpine3.16 AS main
|
FROM node:18-alpine3.17 AS main
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
# overrides only the default value of the settings (the actualy value can be overwritten through config.json)
|
# overrides only the default value of the settings (the actualy value can be overwritten through config.json)
|
||||||
@ -25,7 +25,7 @@ ENV NODE_ENV=production \
|
|||||||
PI_DOCKER=true
|
PI_DOCKER=true
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.16/community/ \
|
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \
|
||||||
vips ffmpeg
|
vips ffmpeg
|
||||||
COPY --from=builder /app /app
|
COPY --from=builder /app /app
|
||||||
VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"]
|
VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"]
|
||||||
|
Loading…
Reference in New Issue
Block a user