Skip to content

Commit

Permalink
Add tini and more packages to postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintenQVD0 authored Nov 18, 2023
1 parent 535e9f9 commit 71f1752
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 12 deletions.
10 changes: 8 additions & 2 deletions postgres/10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ LABEL author="Parker" maintainer="[email protected]"
# 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

COPY ../entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
10 changes: 8 additions & 2 deletions postgres/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ LABEL author="Parker" maintainer="[email protected]"
# 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

COPY ../entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
10 changes: 8 additions & 2 deletions postgres/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ LABEL author="Parker" maintainer="[email protected]"
# 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

COPY ../entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
10 changes: 8 additions & 2 deletions postgres/13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ LABEL author="Parker" maintainer="[email protected]"
# 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

COPY ../entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
10 changes: 8 additions & 2 deletions postgres/14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ LABEL author="Parker" maintainer="[email protected]"
# 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

COPY ../entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
9 changes: 7 additions & 2 deletions postgres/9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ LABEL author="Parker" maintainer="[email protected]"
# 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

COPY ../entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

0 comments on commit 71f1752

Please sign in to comment.