hardfiles (latest)

Published 2023-12-28 04:00:39 +00:00 by hgw in supernets/hardfiles

Installation

docker pull git.supernets.org/supernets/hardfiles:latest
sha256:f882ab3427c58649571cd595003ef76eec53dde484563b87b037c5d040aab14e

Image Layers

ADD file:1f4eb46669b5b6275af19eb7471a6899a61c276aa7d925b8ae99310b14b75b92 in /
CMD ["/bin/sh"]
/bin/sh -c apk add --no-cache ca-certificates
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV GOLANG_VERSION=1.21.5
/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; arch="$(apk --print-arch)"; url=; case "$arch" in 'x86_64') url='https://dl.google.com/go/go1.21.5.linux-amd64.tar.gz'; sha256='e2bc0b3e4b64111ec117295c088bde5f00eeed1567999ff77bc859d7df70078e'; ;; 'armhf') url='https://dl.google.com/go/go1.21.5.linux-armv6l.tar.gz'; sha256='837f4bf4e22fcdf920ffeaa4abf3d02d1314e03725431065f4d44c46a01b42fe'; ;; 'armv7') url='https://dl.google.com/go/go1.21.5.linux-armv6l.tar.gz'; sha256='837f4bf4e22fcdf920ffeaa4abf3d02d1314e03725431065f4d44c46a01b42fe'; ;; 'aarch64') url='https://dl.google.com/go/go1.21.5.linux-arm64.tar.gz'; sha256='841cced7ecda9b2014f139f5bab5ae31785f35399f236b8b3e75dff2a2978d96'; ;; 'x86') url='https://dl.google.com/go/go1.21.5.linux-386.tar.gz'; sha256='8f4dba9cf5c61757bbd7e9ebdb93b6a30a1b03f4a636a1ba0cc2f27b907ab8e1'; ;; 'ppc64le') url='https://dl.google.com/go/go1.21.5.linux-ppc64le.tar.gz'; sha256='907b8c6ec4be9b184952e5d3493be66b1746442394a8bc78556c56834cd7c38b'; ;; 'riscv64') url='https://dl.google.com/go/go1.21.5.linux-riscv64.tar.gz'; sha256='984d8f999f5019d15527a1a0e6b0c3ef879833e26dcd422ab0ef4d81ac486b96'; ;; 's390x') url='https://dl.google.com/go/go1.21.5.linux-s390x.tar.gz'; sha256='9c4a81b72ebe44368813cd03684e1080a818bf915d84163abae2ed325a1b2dc0'; ;; *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; esac; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url"; echo "$sha256 *go.tgz" | sha256sum -c -; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; gpg --batch --verify go.tgz.asc go.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME" go.tgz.asc; tar -C /usr/local -xzf go.tgz; rm go.tgz; apk del --no-network .fetch-deps; go version
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
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH"
WORKDIR /go
WORKDIR /app
COPY /build/hardfiles . # buildkit
RUN /bin/sh -c mkdir files # buildkit
CMD ["./hardfiles"]
Details
Container
2023-12-28 04:00:39 +00:00
1
OCI / Docker
linux/amd64
72 MiB
Versions (1) View all
latest 2023-12-28