backup-notify (latest)

Published 2024-07-06 19:44:06 -04:00 by simponic

Installation

docker pull git.simponic.xyz/simponic/backup-notify:latest
sha256:4a896363e3097973ba94f2e1055d57c1d64bca5b1624acdd134a282d0231d5ed

Image Layers

ADD file:e8aac9b1598114ead96b4038c19d915b87f662ef342291d69c7e5255c5d731fc in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/*
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; rm -rf /var/lib/apt/lists/* # buildkit
ENV GOLANG_VERSION=1.22.5
ENV GOTOOLCHAIN=local
ENV GOPATH=/go
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY /target/ / # buildkit
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
WORKDIR /go
WORKDIR /app
COPY multi:44fcd6b9b943715bc5b1ab9cc113e05de97d3bcc30a26c0b9561f65256a93f28 in ./
/bin/sh -c go mod download
COPY dir:9a4b74f5362dc6f46ea969790cfdba5b2cbd1fb10193492df4b0fc701f5a45ed in .
/bin/sh -c go build -o /app/backup-notify
EXPOSE 8080
CMD ["/app/backup-notify" "--server" "--migrate" "--port" "8080" "--template-path" "/app/templates" "--database-path" "/app/db/nackupnotify.db" "--static-path" "/app/static" "--scheduler" "--ntfy-endpoint" "https://ntfy.simponic.hatecomputers.club" "--ntfy-topics" "server-backups,canary" "--ntfy-alert-topics" "alerts"]
LABEL org.opencontainers.image.created=2024-07-06T23:42:08Z
LABEL org.opencontainers.image.revision=e20896a8f3a1bdead2d9b4d3b162b7285ee167b4
LABEL org.opencontainers.image.source=https://git.simponic.xyz/simponic/backup-notify.git
LABEL org.opencontainers.image.url=https://git.simponic.xyz/simponic/backup-notify

Labels

Key Value
org.opencontainers.image.created 2024-07-06T23:42:08Z
org.opencontainers.image.revision e20896a8f3a1bdead2d9b4d3b162b7285ee167b4
org.opencontainers.image.source https://git.simponic.xyz/simponic/backup-notify.git
org.opencontainers.image.url https://git.simponic.xyz/simponic/backup-notify
Details
Container
2024-07-06 19:44:06 -04:00
7
OCI / Docker
linux/amd64
322 MiB
Versions (1) View all
latest 2024-07-06