segfautils (latest)

Published 2022-09-18 23:59:29 +05:30 by midou in ProjectSegfault/Segfautils

Installation

docker pull git.psf.lt/projectsegfault/segfautils:latest
sha256:837a734189c90a95b4b3a6849258b5523cf948238cbbbd8a017c0c7445db0e17

Image Layers

ADD file:2a949686d9886ac7c10582a6c29116fd29d3077d02755e87e111870d63607725 in /
CMD ["/bin/sh"]
/bin/sh -c apk add --no-cache ca-certificates
/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV GOLANG_VERSION=1.18.6
/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; arch="$(apk --print-arch)"; url=; case "$arch" in 'x86_64') export GOAMD64='v1' GOARCH='amd64' GOOS='linux'; ;; 'armhf') export GOARCH='arm' GOARM='6' GOOS='linux'; ;; 'armv7') export GOARCH='arm' GOARM='7' GOOS='linux'; ;; 'aarch64') export GOARCH='arm64' GOOS='linux'; ;; 'x86') export GO386='softfloat' GOARCH='386' GOOS='linux'; ;; 'ppc64le') export GOARCH='ppc64le' GOOS='linux'; ;; 's390x') export GOARCH='s390x' GOOS='linux'; ;; *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; esac; build=; if [ -z "$url" ]; then build=1; url='https://dl.google.com/go/go1.18.6.src.tar.gz'; sha256='a7f1d50424355dabce66d1112b1cae439b6ee5e4f15edba6f104c0a4b173e895'; fi; 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; if [ -n "$build" ]; then apk add --no-cache --virtual .build-deps bash gcc go musl-dev ; export GOCACHE='/tmp/gocache'; ( cd /usr/local/go/src; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; ./make.bash; ); apk del --no-network .build-deps; rm -rf /usr/local/go/pkg/*/cmd /usr/local/go/pkg/bootstrap /usr/local/go/pkg/obj /usr/local/go/pkg/tool/*/api /usr/local/go/pkg/tool/*/go_bootstrap /usr/local/go/src/cmd/dist/dist "$GOCACHE" ; fi; apk del --no-network .fetch-deps; go version
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 777 "$GOPATH"
WORKDIR /go
ENV SEGFAUTILS_PORT=6893
/bin/sh -c mkdir /segfautils
WORKDIR /segfautils
COPY dir:0425841641f0e86711b0310c63ec99bd93ff76c9f9a6343656243ca573ede95c in /segfautils/
/bin/sh -c go mod download
EXPOSE 6893
/bin/sh -c go build -o segfautils
/bin/sh -c chmod +x segfautils
/bin/sh -c go clean -modcache
CMD ["./segfautils"]
LABEL org.opencontainers.image.created=2022-09-18T18:27:36Z
LABEL org.opencontainers.image.revision=daf1ffe95c4a6042f5c59887d96414414adcd81a
LABEL org.opencontainers.image.source=https://git.projectsegfau.lt/ProjectSegfault/Segfautils.git
LABEL org.opencontainers.image.url=https://git.projectsegfau.lt/ProjectSegfault/Segfautils

Labels

Key Value
org.opencontainers.image.created 2022-09-18T18:27:36Z
org.opencontainers.image.revision daf1ffe95c4a6042f5c59887d96414414adcd81a
org.opencontainers.image.source https://git.projectsegfau.lt/ProjectSegfault/Segfautils.git
org.opencontainers.image.url https://git.projectsegfau.lt/ProjectSegfault/Segfautils
Details
Container
2022-09-18 23:59:29 +05:30
0
OCI / Docker
linux/amd64
162 MiB
Versions (2) View all
dev 2022-10-30
latest 2022-09-18