add more images

This commit is contained in:
obvTiger 2025-02-27 13:00:55 +01:00
parent 3241a41ae6
commit dbb5d933c5
180 changed files with 4993 additions and 999 deletions

22
postgres/10/Dockerfile Normal file
View file

@ -0,0 +1,22 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:10-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"]

22
postgres/11/Dockerfile Normal file
View file

@ -0,0 +1,22 @@
# ----------------------------------
# Environment: Postgres DB
# -----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:11-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"]

22
postgres/12/Dockerfile Normal file
View file

@ -0,0 +1,22 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:12-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"]

22
postgres/13/Dockerfile Normal file
View file

@ -0,0 +1,22 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:13-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"]

22
postgres/14/Dockerfile Normal file
View file

@ -0,0 +1,22 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:14-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 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"]

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"]

21
postgres/9/Dockerfile Normal file
View file

@ -0,0 +1,21 @@
# ----------------------------------
# Environment: Postgres DB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH postgres:9-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"]

16
postgres/entrypoint.sh Normal file
View file

@ -0,0 +1,16 @@
#!/bin/ash
cd /home/container
#output current postgres version
postgres --version
# Make internal Docker IP address available to processes.
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP
# Replace Startup Variables
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}