az-api-chat (sha256:b3d635f4290e54be12c96e1c501f80300211e3e25b3fe0838d68dd117db7ee26)
Published 2025-09-27 15:20:20 +00:00 by mrhid6
Installation
docker pull gitea.hostxtra.co.uk/azmarin/az-api-chat@sha256:b3d635f4290e54be12c96e1c501f80300211e3e25b3fe0838d68dd117db7ee26sha256:b3d635f4290e54be12c96e1c501f80300211e3e25b3fe0838d68dd117db7ee26Image 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.25.1 |
| 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/Azmarin && useradd -m -s /bin/bash AZAPI # buildkit |
| COPY entry.sh / # buildkit |
| COPY release/* /opt/Azmarin/ # buildkit |
| RUN /bin/sh -c chmod 777 /entry.sh && chown -R AZAPI:AZAPI /opt/Azmarin && chmod -R 777 /opt/Azmarin # buildkit |
| ENTRYPOINT ["/entry.sh"] |