hostxtra (sha256:bc3360e96b03bc9607c6899f05229402ce15fda0ee0e5fccc6b5bcfcc79550f8)
Published 2025-09-10 12:43:38 +00:00 by mrhid6
Installation
docker pull gitea.hostxtra.co.uk/hostxtra/hostxtra@sha256:bc3360e96b03bc9607c6899f05229402ce15fda0ee0e5fccc6b5bcfcc79550f8sha256:bc3360e96b03bc9607c6899f05229402ce15fda0ee0e5fccc6b5bcfcc79550f8Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1757289600' |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; dpkgArch="$(dpkg --print-architecture)"; if [ "$dpkgArch" = 'arm64' ]; then apt-get install -y --no-install-recommends binutils-gold; fi; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GOLANG_VERSION=1.24.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 |
| 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"] |