-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH postgres:17-bookworm | ||
|
||
LABEL author="Torsten Widmann" maintainer="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.licenses=AGPL | ||
LABEL org.opencontainers.image.description Dockerimage for Pelican Hosting Panel and Pterodactyl | ||
Check warning on line 6 in database/postgres/17/Dockerfile GitHub Actions / postgres:17Legacy key/value format with whitespace separator should not be used
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
Check warning on line 7 in database/postgres/17/Dockerfile GitHub Actions / postgres:17Legacy key/value format with whitespace separator should not be used
|
||
RUN apt update \ | ||
&& apt -y upgrade | ||
|
||
RUN apt install -y \ | ||
netcat-openbsd \ | ||
iproute2 \ | ||
postgresql-17-postgis-3 | ||
|
||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
COPY ./../entrypoint.sh /entrypoint.sh | ||
CMD ["/bin/bash", "/entrypoint.sh"] |