morning (latest)
Published 2026-02-05 10:42:24 +03:00 by festinuz
Installation
docker pull gitea.defective.dev/festinuz/morning:latestsha256:24bf2ef2596cdc685e0c2581ae9e415f4ea41404240a042b146c8fd451364616Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1769990400' |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; dpkgArch="$(dpkg --print-architecture)"; if [ "$dpkgArch" = 'arm64' ]; then apt-get install -y --no-install-recommends binutils-gold; fi; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GOLANG_VERSION=1.25.7 |
| 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 morning/main.go . # buildkit |
| COPY web ./web # buildkit |
| COPY icon.png ./web/icon.png # buildkit |
| RUN /bin/sh -c CGO_ENABLED=0 go build -o /app/morning main.go # buildkit |
| VOLUME [/data] |
| ENV CONFIG_FILE_PATH=/data/config.json |
| ENTRYPOINT ["/app/morning"] |