hostxtra (sha256:2dd92995204913e88e1d51e1c9d4b030ffbf94c8c3cb3a2d9de425ba0a4eaba0)
Published 2025-08-04 13:31:11 +00:00 by mrhid6
Installation
docker pull gitea.hostxtra.co.uk/hostxtra/hostxtra@sha256:2dd92995204913e88e1d51e1c9d4b030ffbf94c8c3cb3a2d9de425ba0a4eaba0sha256:2dd92995204913e88e1d51e1c9d4b030ffbf94c8c3cb3a2d9de425ba0a4eaba0Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1753056000' |
| 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.24.5 |
| 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 |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get -qq update -y && apt-get -qq install apt-utils wget curl -y && mkdir /opt/hostxtra && useradd -m -s /bin/bash hostxtra # buildkit |
| COPY entry.sh / # buildkit |
| COPY bin/* /opt/hostxtra/ # buildkit |
| RUN /bin/sh -c chmod 777 /entry.sh && chown -R hostxtra:hostxtra /opt/hostxtra && chmod -R 777 /opt/hostxtra # buildkit |
| ENTRYPOINT ["/entry.sh"] |