diff --git a/.github/workflows/build-and-push-python-pg.yml b/.github/workflows/build-and-push-python-pg.yml index 7bb843e3d..4640f5edb 100644 --- a/.github/workflows/build-and-push-python-pg.yml +++ b/.github/workflows/build-and-push-python-pg.yml @@ -39,7 +39,7 @@ jobs: run: | DOCKER_IMAGE=ghcr.io/1panel-dev/maxkb-python-pg DOCKER_PLATFORMS=${{ github.event.inputs.architecture }} - TAG_NAME=python3.11-pg15.8 + TAG_NAME=python3.11-pg15.14 DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME} --tag ${DOCKER_IMAGE}:latest" echo ::set-output name=docker_image::${DOCKER_IMAGE} echo ::set-output name=version::${TAG_NAME} diff --git a/installer/Dockerfile b/installer/Dockerfile index 796e8535e..7aa5eb9f7 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -70,6 +70,7 @@ RUN chmod 755 /opt/maxkb/app/installer/run-maxkb.sh && \ useradd --no-create-home --home /opt/maxkb/app/sandbox sandbox -g root && \ chown -R sandbox:root /opt/maxkb/app/sandbox && \ chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/15/bin/* && \ + chmod g+xr /usr/bin/ld.so && \ chmod g+x /usr/local/bin/python* && \ find /etc/ -type f ! -path '/etc/resolv.conf' ! -path '/etc/hosts' | xargs chmod g-rx diff --git a/installer/Dockerfile-python-pg b/installer/Dockerfile-python-pg index 05bfce27a..eb52eec17 100644 --- a/installer/Dockerfile-python-pg +++ b/installer/Dockerfile-python-pg @@ -1,5 +1,5 @@ -FROM python:3.11-slim-bookworm AS python-stage -FROM postgres:15.14-bookworm +FROM python:3.11-slim-trixie AS python-stage +FROM postgres:15.14-trixie ARG DEPENDENCIES=" \ libexpat1-dev \