use gitea ci

This commit is contained in:
Sebastian Hugentobler 2024-03-28 14:55:40 +01:00
parent c81d3cd7b9
commit 6a325f4951
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
4 changed files with 12 additions and 11 deletions

17
Containerfile Normal file
View file

@ -0,0 +1,17 @@
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
ENV PGDATA=/var/lib/postgresql/data
RUN apk add --no-cache \
postgresql16 \
postgresql16-contrib
RUN mkdir -p /run/postgresql && mkdir -p $PGDATA
RUN chown -R postgres /run/postgresql && chown -R postgres $PGDATA
RUN chmod 775 /run/postgresql
ADD /rootfs /
VOLUME /var/lib/postgresql/data /etc/ssl/postgresql/
EXPOSE 5432