kb (sha256:f324f1a1116ca6f68979848fdc18a7eceb14ea57a33ac54fa5c7dad79cb9235e)
Published 2025-08-18 10:36:24 +00:00 by mrhid6
Installation
docker pull gitea.hostxtra.co.uk/hostxtra/kb@sha256:f324f1a1116ca6f68979848fdc18a7eceb14ea57a33ac54fa5c7dad79cb9235esha256:f324f1a1116ca6f68979848fdc18a7eceb14ea57a33ac54fa5c7dad79cb9235eImage Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1754870400' |
| 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 ; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GOLANG_VERSION=1.24.6 |
| 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"] |