goblob (latest)

Published 2025-04-18 22:42:06 +00:00 by massivebox

Installation

docker pull git.massive.box/massivebox/goblob:latest
sha256:ac9d320a7f281c582ab5cba3016b840fc9e83029eb814507e258c9cdaa360bb5

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1743984000'
RUN /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/* # buildkit
RUN /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/* # buildkit
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.24.2
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 rm -rf go.mod go.sum # buildkit
RUN /bin/sh -c go mod init deletedbot # buildkit
RUN /bin/sh -c go mod tidy # buildkit
RUN /bin/sh -c go build -o app . # buildkit
CMD ["./app"]
Details
Container
2025-04-18 22:42:06 +00:00
4
OCI / Docker
linux/amd64
445 MiB
Versions (1) View all
latest 2025-04-18