phoneof (latest)

Published 2025-01-16 20:44:44 -05:00 by simponic

Installation

docker pull git.simponic.xyz/simponic/phoneof:latest
sha256:7bffed3e4422fb926b26183e71a6551f768c362daa1e0227acbd9c8470000912

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1736726400'
RUN /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/* # buildkit
RUN /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/* # buildkit
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.23.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 go.mod go.sum ./ # buildkit
RUN /bin/sh -c go mod download # buildkit
COPY . . # buildkit
RUN /bin/sh -c go build -o /app/phoneof # buildkit
EXPOSE map[8080/tcp:{}]
CMD ["/app/phoneof" "--server" "--migrate" "--port" "8080" "--template-path" "/app/templates" "--database-path" "/app/db/phoneof.db" "--static-path" "/app/static" "--scheduler" "--httpsms-endpoint" "https://httpsms.internal.simponic.xyz" "--ntfy-endpoint" "https://ntfy.simponic.hatecomputers.club"]

Labels

Key Value
org.opencontainers.image.created 2025-01-17T01:43:12Z
org.opencontainers.image.revision 0d39d6e98165a35dbbe6ef2cd5d8a42ab2468b2b
org.opencontainers.image.source https://git.simponic.xyz/simponic/phoneof.git
org.opencontainers.image.url https://git.simponic.xyz/simponic/phoneof
Details
Container
2025-01-16 20:44:44 -05:00
17
OCI / Docker
linux/amd64
330 MiB
Versions (1) View all
latest 2025-01-16