deletedbot (latest)
Published 2024-10-28 15:14:51 +00:00 by massivebox
Installation
docker pull git.massivebox.net/massivebox/deletedbot:latest
sha256:95f8653266a8bb813714a3e3762c73ccbdd8945ec99c3f3d760309169d66bd66
Image Layers
ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit |
ENV GOLANG_VERSION=1.22.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 |
RUN /bin/sh -c mkdir -p /app # buildkit |
WORKDIR /app |
ADD . /app # buildkit |
RUN /bin/sh -c go mod tidy # buildkit |
RUN /bin/sh -c go build -o app . # buildkit |
CMD ["./app"] |