hatecomputers.club (latest)
Published 2024-08-17 18:55:06 -04:00 by gitea_admin
Installation
docker pull git.hatecomputers.club/hatecomputers/hatecomputers.club:latest
sha256:e0cab8e3359aa1b7f0cb4650f5cded85d89f8a6a1212e04d62f47a26ee490198
Image Layers
ADD file:0d5bdf84bbcdfa95d42190537e3cad2c0a5876f9127fae6a1d1c485d3539c77d 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.6 |
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:d3cb70a1a88de84539c5a4d594312fe05b4043f4f891be52cea071a0026519f0 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-08-17T22:51:33Z |
LABEL org.opencontainers.image.revision=0e4c236b8a52af749b9c24f67bc33e0ff884d1a7 |
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-08-17T22:51:33Z |
org.opencontainers.image.revision | 0e4c236b8a52af749b9c24f67bc33e0ff884d1a7 |
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-08-17 18:55:06 -04:00
Versions (2)
View all
Container
33
OCI / Docker
linux/amd64
343 MiB