postgresql (sha256:09b66a83b21b6c88da4c1ddb2a260e6f082a6ea84bf3bcefc6d7387fd4656e38)
Published 2025-07-24 16:13:20 +00:00 by sutty
Installation
docker pull git.sutty.abyaya.la/containers/postgresql@sha256:09b66a83b21b6c88da4c1ddb2a260e6f082a6ea84bf3bcefc6d7387fd4656e38sha256:09b66a83b21b6c88da4c1ddb2a260e6f082a6ea84bf3bcefc6d7387fd4656e38Image layers
| ADD alpine-minirootfs-3.19.8-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG ALPINE_VERSION=3.19.8 |
| ENV LANG=C.UTF-8 |
| COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit |
| RUN |1 ALPINE_VERSION=3.19.8 /bin/sh -c echo ${ALPINE_VERSION} | cut -d . -f 1,2 | xargs -I {} echo https://alpine.sutty.nl/alpine/v{}/sutty | tee -a /etc/apk/repositories # buildkit |
| RUN |1 ALPINE_VERSION=3.19.8 /bin/sh -c wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub # buildkit |
| LABEL org.opencontainers.image.authors=f@sutty.nl |
| ENV EMAIL=monit@sutty.nl |
| ENV EMAIL_FROM=monit@sutty.nl |
| ENV MMONIT=mmmonit.athshe.sutty.nl |
| ENV CREDENTIALS=mmmonit:mmmonit.athshe.sutty.nl |
| RUN /bin/sh -c apk add --no-cache tini monit knsupdate # buildkit |
| RUN /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d # buildkit |
| RUN /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d/external/ # buildkit |
| RUN /bin/sh -c install -dm 2750 -o root -g root /var/lib/monit # buildkit |
| COPY /etc/monitrc /etc/monitrc # buildkit |
| COPY ./nsupdate.sh /usr/local/bin/nsupdate # buildkit |
| COPY ./whatsmyip6.sh /usr/local/bin/whatsmyip6 # buildkit |
| COPY ./whatsmydefaulteth.sh /usr/local/bin/whatsmydefaulteth # buildkit |
| COPY ./syslogize.sh /usr/local/bin/syslogize # buildkit |
| COPY ./zeroconf.sh /usr/local/bin/zeroconf # buildkit |
| COPY ./zeroconf.conf /etc/zeroconf.conf # buildkit |
| EXPOSE map[2812/tcp:{}] |
| ENTRYPOINT ["/sbin/tini" "--"] |
| CMD ["/usr/bin/monit"] |
| LABEL org.opencontainers.image.authors=f@sutty.nl |
| ARG PG_VERSION=13 |
| ARG PG_VERSION_FULL=13.20 |
| ENV PGVER=13 |
| ENV PGBASE=/var/lib/postgresql |
| ENV PGDATA=/var/lib/postgresql/13/data |
| ENV PAGER=less -niSFX |
| ENV LANG=en_US.utf8 |
| RUN |2 PG_VERSION=13 PG_VERSION_FULL=13.20 /bin/sh -c apk add --no-cache postgresql${PG_VERSION}~${PG_VERSION_FULL} postgresql${PG_VERSION}-contrib daemonize less # buildkit |
| RUN |2 PG_VERSION=13 PG_VERSION_FULL=13.20 /bin/sh -c install -dm 750 -o postgres -g postgres /etc/postgres.d # buildkit |
| COPY ./monit.conf /etc/monit.d/postgresql.conf # buildkit |
| COPY ./postgresqld.sh /usr/local/bin/postgresqld # buildkit |
| COPY ./postgresql.conf /etc/postgres.d/postgresql.conf # buildkit |
| EXPOSE map[5432/tcp:{}] |
| VOLUME [/var/lib/postgresql] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | f@sutty.nl |
| org.opencontainers.image.created | 2025-07-24T16:12:11Z |
| org.opencontainers.image.revision | 34ce8d73761026c6dadb22b053334aa16532668e |
| org.opencontainers.image.source | https://git.sutty.abyaya.la/containers/postgresql.git |
| org.opencontainers.image.url | https://git.sutty.abyaya.la/containers/postgresql |
Details
2025-07-24 16:13:20 +00:00
Versions (31)
View all
Container
0
OCI / Docker
linux/amd64
f@sutty.nl
19 MiB