Skip to content

Commit 87eb5c3

Browse files
committed
fix: update Docker images to use latest versions and adjust permissions
1 parent 0e1ae66 commit 87eb5c3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build-and-push-python-pg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
DOCKER_IMAGE=ghcr.io/1panel-dev/maxkb-python-pg
4141
DOCKER_PLATFORMS=${{ github.event.inputs.architecture }}
42-
TAG_NAME=python3.11-pg15.8
42+
TAG_NAME=python3.11-pg15.14
4343
DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME} --tag ${DOCKER_IMAGE}:latest"
4444
echo ::set-output name=docker_image::${DOCKER_IMAGE}
4545
echo ::set-output name=version::${TAG_NAME}

installer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ RUN chmod 755 /opt/maxkb/app/installer/run-maxkb.sh && \
7070
useradd --no-create-home --home /opt/maxkb/app/sandbox sandbox -g root && \
7171
chown -R sandbox:root /opt/maxkb/app/sandbox && \
7272
chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/15/bin/* && \
73+
chmod g+xr /usr/bin/ld.so && \
7374
chmod g+x /usr/local/bin/python* && \
7475
find /etc/ -type f ! -path '/etc/resolv.conf' ! -path '/etc/hosts' | xargs chmod g-rx
7576

installer/Dockerfile-python-pg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM python:3.11-slim-bookworm AS python-stage
2-
FROM postgres:15.14-bookworm
1+
FROM python:3.11-slim-trixie AS python-stage
2+
FROM postgres:15.14-trixie
33

44
ARG DEPENDENCIES=" \
55
libexpat1-dev \

0 commit comments

Comments
 (0)