hatecomputers.club (main)
Published 2024-04-03 12:01:29 -04:00 by gitea_admin
Installation
docker pull git.hatecomputers.club/hatecomputers/hatecomputers.club:main
sha256:a5c9f02e7517b93e4fa27b1676ab07de47ed65bc72d3caf5da8b5499b9f25d5a
Image Layers
ADD file:b18b4c32dd8042f45097997c732dc29b3917fd7d5f337f9e772eee5875fbe6f1 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.1 |
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 /usr/local/go/ /usr/local/go/ # 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:c058c4c40e1ce5009f0afef1cbf5a65fae0e9d8a1f7ea85c6ec87370577a957e 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-recursion" "1.1.1.1:53,1.0.0.1:53"] |
LABEL org.opencontainers.image.created=2024-04-03T15:58:03Z |
LABEL org.opencontainers.image.revision=569d2788ebfb90774faf361f62bfe7968e091465 |
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-04-03T15:58:03Z |
org.opencontainers.image.revision | 569d2788ebfb90774faf361f62bfe7968e091465 |
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-04-03 12:01:29 -04:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
342 MiB