🏡 index : github.com/captn3m0/repology-dump-docker.git

author Matthias Kay <github@matthiaskay.de> 2025-06-21 0:01:53.0 +02:00:00
committer Nemo <me@captnemo.in> 2025-06-21 15:11:44.0 +00:00:00
commit
814fe6aeb7db53253a297c5e97a953ae1587e52b [patch]
tree
71030604f3177fad99049855d73398eec2d60d9d
parent
8dd17e16c7a48d74210bff0df2100889d587559e
download
814fe6aeb7db53253a297c5e97a953ae1587e52b.tar.gz

Dockerfile aktualisieren



Diff

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index f0151eb..e5d5b60 100644
--- a/Dockerfile
+++ a/Dockerfile
@@ -1,10 +1,10 @@
FROM opensuse/leap:15.6

RUN zypper --non-interactive install postgresql14 postgresql14-libversion postgresql14-contrib zstd
RUN zypper --non-interactive install postgresql16 postgresql16-libversion postgresql16-contrib zstd
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql

USER postgres
RUN /usr/lib/postgresql14/bin/initdb --encoding=UTF8 -D /var/lib/pgsql/data
RUN /usr/lib/postgresql16/bin/initdb --encoding=UTF8 -D /var/lib/pgsql/data
ENV PGDATA=/var/lib/pgsql/data

# do not use "RUN curl ..." as this would be executed once and the layer would be cached