golang-ptero (1.17)

Published 2026-05-25 01:47:43 +02:00 by Lockgar

Installation

docker pull git.vilotech.hu/lockgar/golang-ptero:1.17
sha256:41dfc6d3ed53235701bff76756203605920a5c3d833b0ad3a2ca0cc995c076b5

About this package

Multi-version Golang image for Pterodactyl with build/run/shell modes

Image layers

ADD file:3451708ab45bc1bcfc1ebb2075d3af16767477cbeb79334959e0d1ff02b0864b in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
/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/*
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV GOLANG_VERSION=1.17.13
/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; url=; case "$arch" in 'amd64') url='https://dl.google.com/go/go1.17.13.linux-amd64.tar.gz'; sha256='4cdd2bc664724dc7db94ad51b503512c5ae7220951cac568120f64f8e94399fc'; ;; 'armel') export GOARCH='arm' GOARM='5' GOOS='linux'; ;; 'armhf') url='https://dl.google.com/go/go1.17.13.linux-armv6l.tar.gz'; sha256='260431d7deeb8893c21e71fcbbb1fde3258616d8eba584c8d72060228ab42c86'; ;; 'arm64') url='https://dl.google.com/go/go1.17.13.linux-arm64.tar.gz'; sha256='914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d'; ;; 'i386') url='https://dl.google.com/go/go1.17.13.linux-386.tar.gz'; sha256='5e02f35aecc6b89679f631e0edf12c49922dd31c8140cf8dd725c5797a9f2425'; ;; 'mips64el') export GOARCH='mips64le' GOOS='linux'; ;; 'ppc64el') url='https://dl.google.com/go/go1.17.13.linux-ppc64le.tar.gz'; sha256='bd0763fb130f8412672ffe1e4a8e65888ebe2419e5caa9a67ac21e8c298aa254'; ;; 's390x') url='https://dl.google.com/go/go1.17.13.linux-s390x.tar.gz'; sha256='08f6074e1e106cbe5d78622357db71a93648c7a4c4e4b02e3b5f2a1828914c76'; ;; *) 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.17.13.src.tar.gz'; sha256='a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd'; echo >&2; echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; echo >&2; fi; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url" --progress=dot:giga; 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 savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends golang-go; export GOCACHE='/tmp/gocache'; ( cd /usr/local/go/src; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; ./make.bash; ); apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; 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; 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
LABEL org.opencontainers.image.title=ViloTechSolutions Golang Pterodactyl
LABEL org.opencontainers.image.authors=ViloTechSolutions
LABEL org.opencontainers.image.description=Multi-version Golang image for Pterodactyl with build/run/shell modes
RUN /bin/sh -c apt-get update && apt-get install -y git curl wget ca-certificates tzdata unzip tar nano vim bash procps iproute2 && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c groupadd -g 999 container && useradd -u 999 -g 999 -m -d /home/container -s /bin/bash container # buildkit
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit
USER container
ENV USER=container
ENV HOME=/home/container
ENV TMPDIR=/home/container/.cache/tmp
ENV GOTMPDIR=/home/container/.cache/go-tmp
ENV GOPATH=/home/container/.cache/go
ENV GOMODCACHE=/home/container/.cache/go/pkg/mod
ENV GOCACHE=/home/container/.cache/go-build
ENV PATH=/home/container/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
WORKDIR /home/container
CMD ["/entrypoint.sh"]

Labels

Key Value
org.opencontainers.image.authors ViloTechSolutions
org.opencontainers.image.description Multi-version Golang image for Pterodactyl with build/run/shell modes
org.opencontainers.image.title ViloTechSolutions Golang Pterodactyl
Details
Container
2026-05-25 01:47:43 +02:00
0
OCI / Docker
linux/amd64
ViloTechSolutions
366 MiB
Versions (11) View all
1.17 2026-05-25
latest 2026-05-25
1.18 2026-05-25
1.19 2026-05-25
1.20 2026-05-25