From 039c470fcd5109a26c6f02d0d9ce268e86181616 Mon Sep 17 00:00:00 2001 From: samrose Date: Mon, 16 Dec 2024 07:47:50 -0500 Subject: [PATCH] feat: explicit create /var/lib/postgresql (#1376) * feat: explicit create /var/lib/postgresql * chore: rename --- ...ockerhub-release-15-6.yml => dockerhub-release-15-8.yml} | 2 +- Dockerfile-156 => Dockerfile-158 | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) rename .github/workflows/{dockerhub-release-15-6.yml => dockerhub-release-15-8.yml} (99%) rename Dockerfile-156 => Dockerfile-158 (97%) diff --git a/.github/workflows/dockerhub-release-15-6.yml b/.github/workflows/dockerhub-release-15-8.yml similarity index 99% rename from .github/workflows/dockerhub-release-15-6.yml rename to .github/workflows/dockerhub-release-15-8.yml index 4c7b5b998..11ffd2e48 100644 --- a/.github/workflows/dockerhub-release-15-6.yml +++ b/.github/workflows/dockerhub-release-15-8.yml @@ -60,7 +60,7 @@ jobs: platforms: linux/${{ matrix.arch }} cache-from: type=gha,scope=${{ github.ref_name }}-latest-${{ matrix.arch }} cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-latest-${{ matrix.arch }} - file: "Dockerfile-156" + file: "Dockerfile-158" - name: Slack Notification if: ${{ failure() }} uses: rtCamp/action-slack-notify@v2 diff --git a/Dockerfile-156 b/Dockerfile-158 similarity index 97% rename from Dockerfile-156 rename to Dockerfile-158 index ce83237f2..52c4e5af3 100644 --- a/Dockerfile-156 +++ b/Dockerfile-158 @@ -75,11 +75,9 @@ WORKDIR / RUN mkdir -p /usr/lib/postgresql/bin \ /usr/lib/postgresql/share/postgresql \ /usr/share/postgresql \ - # /usr/lib/postgresql/share/postgresql/contrib \ - #/usr/lib/postgresql/share/postgresql/timezonesets \ - #/usr/lib/postgresql/share/postgresql/tsearch_data \ - # /usr/lib/postgresql/share/postgresql/extension \ + /var/lib/postgresql \ && chown -R postgres:postgres /usr/lib/postgresql \ + && chown -R postgres:postgres /var/lib/postgresql \ && chown -R postgres:postgres /usr/share/postgresql # Create symbolic links