doc (latest)
Published 2024-08-15 23:06:01 +03:00 by NeonXP
Installation
docker pull gitrepo.ru/neonxp/doc:latest
sha256:0feeff46cce64a9b008a2a190c07a7e2948d4488d8a5fa2cf38ba5f300620630
Image Layers
ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit |
ENV GOLANG_VERSION=1.23.0 |
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 |
ENV GOPROXY=https://proxy.neonxp.ru |
RUN /bin/sh -c go install golang.org/x/pkgsite/cmd/pkgsite@latest # buildkit |
EXPOSE map[8080/tcp:{}] |
CMD ["pkgsite" "-proxy" "-http" ":8989"] |