Block a user
vault-unsealer (0.0.4)
Published 2025-03-25 09:08:13 -04:00 by jacob
Installation
docker pull git.nonahob.net/jacob/vault-unsealer:0.0.4sha256:af48553132875a964b4a4f30295e4d5e6f37e6ae915a6c454aa281ec35decd42
Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1742169600' |
| 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.23.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 |
| COPY . . # buildkit |
| RUN /bin/sh -c mkdir /app # buildkit |
| RUN /bin/sh -c go mod download # buildkit |
| RUN /bin/sh -c go build -o /app/vault-unsealer ./cmd/main.go # buildkit |
| WORKDIR /app |
| CMD ["/bin/sh" "-c" "\"/app/vault-unsealer\""] |