Block a user
vault-unsealer (0.1.0)
Published 2025-03-25 09:37:37 -04:00 by jacob
Installation
docker pull git.nonahob.net/jacob/vault-unsealer:0.1.0sha256:7e773b1794b7ea5c191550a83d84734a39ce02484f6d32bbbb607b376207cb92
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\""] |