ADD file:32ff5e7a78b890996ee4681cc0a26185d3e9acdb4eb1e2aaccb2411f922fed6b in / |
CMD ["/bin/sh"] |
ARG ALPINE_VERSION |
MAINTAINER "f <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 |
ENV LANG=C.UTF-8 |
RUN |1 ALPINE_VERSION=3.18.3 /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.18.3 /bin/sh -c wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub # buildkit |
RUN |1 ALPINE_VERSION=3.18.3 /bin/sh -c apk add --no-cache tini monit knsupdate # buildkit |
COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit |
RUN |1 ALPINE_VERSION=3.18.3 /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d # buildkit |
RUN |1 ALPINE_VERSION=3.18.3 /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d/external/ # buildkit |
RUN |1 ALPINE_VERSION=3.18.3 /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 ./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"] |
MAINTAINER "f <f@sutty.nl>" |
ARG PG_VERSION=13 |
ARG PG_VERSION_APPENDED |
ARG PG_VERSION_FULL |
ENV PGVER=15 |
ENV PGBASE=/var/lib/postgresql |
ENV PGDATA=/var/lib/postgresql/15/data |
ENV PAGER=less -niSFX |
RUN |3 PG_VERSION=15 PG_VERSION_APPENDED=15 PG_VERSION_FULL=15.4 /bin/sh -c apk add --no-cache postgresql${PG_VERSION_APPENDED}~${PG_VERSION_FULL} postgresql${PG_VERSION_APPENDED}-contrib daemonize less # buildkit |
RUN |3 PG_VERSION=15 PG_VERSION_APPENDED=15 PG_VERSION_FULL=15.4 /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] |