Skip to content

Commit 7e4a982

Browse files
committed
Drop buster support. Its an old debian version
1 parent 8c82c64 commit 7e4a982

File tree

5 files changed

+6
-52
lines changed

5 files changed

+6
-52
lines changed

.github/workflows/build.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
mysql database: 'pigallery_test'
2424
mysql root password: 'password'
25-
mysql user: 'user'
25+
mysql user: 'user'
2626
mysql password: 'password'
2727
- uses: actions/checkout@v4
2828
- name: Use Node.js ${{ matrix.node-version }}
@@ -100,12 +100,10 @@ jobs:
100100
needs: [ create-release ]
101101
strategy:
102102
matrix:
103-
container: [alpine, debian-buster, debian-bullseye, debian-bookworm ]
103+
container: [alpine, debian-bullseye, debian-bookworm ]
104104
include:
105105
- container: alpine
106106
platforms: linux/amd64,linux/arm64,linux/arm/v7
107-
- container: debian-buster
108-
platforms: linux/amd64,linux/arm64,linux/arm/v7
109107
- container: debian-bullseye
110108
platforms: linux/amd64,linux/arm64,linux/arm/v7
111109
- container: debian-bookworm

docker/debian-bookworm/Dockerfile.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#-----------------BUILDER-----------------
22
#-----------------------------------------
3-
FROM node:18.19-bookworm AS builder
3+
FROM node:18-bookworm AS builder
44
RUN apt update && apt install -y --no-install-recommends libvips-dev python3
55
COPY pigallery2-release /app
66
WORKDIR /app

docker/debian-bullseye/Dockerfile.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#-----------------BUILDER-----------------
22
#-----------------------------------------
3-
FROM node:18.19-bullseye AS builder
3+
FROM node:18-bullseye AS builder
44
RUN apt update && apt install -y --no-install-recommends libvips-dev python3
55
COPY pigallery2-release /app
66
WORKDIR /app

docker/debian-buster/selfcontained/Dockerfile docker/debian-bullseye/selfcontained/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#-----------------BUILDER-----------------
22
#-----------------------------------------
3-
FROM node:18-buster AS builder
3+
FROM node:18-bullseye AS builder
44
# LABEL maintainer="Patrik J. Braun"
55
# copying only package{-lock}.json to make node_modules cachable
66
RUN git clone https://github.com/bpatrik/pigallery2.git /build
@@ -16,7 +16,7 @@ RUN npm install --unsafe-perm \
1616

1717
#-----------------MAIN--------------------
1818
#-----------------------------------------
19-
FROM node:18-buster-slim AS main
19+
FROM node:18-bullseye-slim AS main
2020
WORKDIR /app
2121
ENV NODE_ENV=production \
2222
# overrides only the default value of the settings (the actualy value can be overwritten through config.json)

docker/debian-buster/Dockerfile.build

-44
This file was deleted.

0 commit comments

Comments
 (0)