phoneassistant (latest)

Published 2025-01-14 01:18:10 -05:00 by simponic

Installation

docker pull git.simponic.xyz/simponic/phoneassistant:latest
sha256:6482863625a6deb42e040d7f3252ded3b87cfb0ea61554e9d3004db6e8f559a4

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000'
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.4
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/phoneassistant # buildkit
EXPOSE map[8080/tcp:{}]
CMD ["/app/phoneassistant" "--server" "--migrate" "--port" "8080" "--template-path" "/app/templates" "--database-path" "/app/db/phoneassistant.db" "--static-path" "/app/static" "--scheduler" "--ntfy-topics" "passt" "--ntfy-endpoint" "https://ntfy.simponic.hatecomputers.club" "--ntfy-listener"]

Labels

Key Value
org.opencontainers.image.created 2025-01-14T06:16:28Z
org.opencontainers.image.revision 239f4006b00c56f44269de426ccf19cc8fa5eca4
org.opencontainers.image.source https://git.simponic.xyz/simponic/phoneassistant.git
org.opencontainers.image.url https://git.simponic.xyz/simponic/phoneassistant
Details
Container
2025-01-14 01:18:10 -05:00
5
OCI / Docker
linux/amd64
329 MiB
Versions (1) View all
latest 2025-01-14