borg (sha256:eb55b67ce1420d9787e547487c1f391815a1f61516e5ba27b69913ef467cd33c)
Installation
docker pull gitea.nulo.in/sutty/borg@sha256:eb55b67ce1420d9787e547487c1f391815a1f61516e5ba27b69913ef467cd33c
sha256:eb55b67ce1420d9787e547487c1f391815a1f61516e5ba27b69913ef467cd33c
Image Layers
ADD file:970e6b2578ef73457ffed1189e8ba128b0211cabd3174b8c7d3afd8fb58ad614 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.16.5 /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.16.5 /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.16.5 /bin/sh -c apk add --no-cache tini monit knsupdate # buildkit |
COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit |
RUN |1 ALPINE_VERSION=3.16.5 /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d # buildkit |
RUN |1 ALPINE_VERSION=3.16.5 /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d/external/ # buildkit |
RUN |1 ALPINE_VERSION=3.16.5 /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>" |
ENV BORG_HOST_ID=borg |
ENV BORG_PASSPHRASE= |
ENV KEEP=30 |
ENV SSH_ALIAS= |
ENV SSH_SERVER= |
ENV SSH_USER=root |
ENV SSH_PORT=22 |
RUN /bin/sh -c apk add --no-cache borgbackup openssh-client # buildkit |
COPY ./monit.conf /etc/monit.d/borg.conf # buildkit |
COPY ./backup.sh /usr/local/bin/backup # buildkit |
COPY ./ssh_config /root/.ssh/config # buildkit |
RUN /bin/sh -c chmod -R u=rX,g=,o= /root/.ssh # buildkit |
VOLUME [/srv/data] |
VOLUME [/srv/backups] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2023-05-20T14:39:07Z |
org.opencontainers.image.revision | eb02287940fe37f91381e004c4d4db3205942c61 |
org.opencontainers.image.source | https://gitea.nulo.in/Sutty/containers-borg.git |
org.opencontainers.image.url | https://gitea.nulo.in/Sutty/containers-borg |
Details
2023-05-20 14:40:39 +00:00
Versions (10)
View all
Container
0
OCI / Docker
linux/amd64
26 MiB