PosgreSQL 16 (#210)

* add PostgreSQL 16

---------

Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
This commit is contained in:
Vincenz
2023-12-11 18:37:36 +01:00
committed by GitHub
parent 3cebe03711
commit a401057a70
2 changed files with 22 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ jobs:
- 12 - 12
- 13 - 13
- 14 - 14
- 16
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3 - uses: docker/setup-qemu-action@v3

21
postgres/16/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:16-alpine
LABEL author="Parker" maintainer="parker@pterodactyl.io"
# UID 999 is the default pterodactyl user
RUN adduser -D -h /home/container container
RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata
USER container
ENV HOME /home/container
WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]