hatecomputers.club (latest)
Published 2024-10-14 23:17:19 -04:00 by gitea_admin
Installation
docker pull git.hatecomputers.club/hatecomputers/hatecomputers.club:latest
sha256:502aae7e1bd4be073c53d71951254a06eb90167e0d9b75509fdb1ba81a106b0d
Image Layers
ADD file:087f68d5558e06c7160c9322582925635e7539a7702413828357c28c77f6f345 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.8 |
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:dd539af3514222dc2b55cc8ea18000b0f8c4e20373d0b7911caf93c0806978ac in ./ |
/bin/sh -c go mod download |
COPY dir:c45a74824175e3f10db090dfba517af06914f6d400b3aeacd21c052bc50b67e7 in . |
/bin/sh -c go build -o /app/hatecomputers |
EXPOSE 8080 |
CMD ["/app/hatecomputers" "--server" "--migrate" "--port" "8080" "--template-path" "/app/templates" "--database-path" "/app/db/hatecomputers.db" "--static-path" "/app/static" "--scheduler" "--dns" "--dns-port" "8053" "--dns-resolvers" "1.1.1.1:53,1.0.0.1:53" "--upload-path" "/app/uploads"] |
LABEL org.opencontainers.image.created=2024-10-15T03:13:45Z |
LABEL org.opencontainers.image.revision=66fb5845ae18d6f5e852f4e516ccbf5447ababfd |
LABEL org.opencontainers.image.source=https://git.hatecomputers.club/hatecomputers/hatecomputers.club.git |
LABEL org.opencontainers.image.url=https://git.hatecomputers.club/hatecomputers/hatecomputers.club |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-10-15T03:13:45Z |
org.opencontainers.image.revision | 66fb5845ae18d6f5e852f4e516ccbf5447ababfd |
org.opencontainers.image.source | https://git.hatecomputers.club/hatecomputers/hatecomputers.club.git |
org.opencontainers.image.url | https://git.hatecomputers.club/hatecomputers/hatecomputers.club |
Details
2024-10-14 23:17:19 -04:00
Versions (2)
View all
Container
40
OCI / Docker
linux/amd64
344 MiB