az-api-user (sha256:4088bc51f79b663c16712f6a9f61820590773af796011d3b7affe6f4821404be)
Published 2025-02-25 12:22:05 +00:00 by mrhid6
Installation
docker pull gitea.hostxtra.co.uk/azmarin/az-api-user@sha256:4088bc51f79b663c16712f6a9f61820590773af796011d3b7affe6f4821404besha256:4088bc51f79b663c16712f6a9f61820590773af796011d3b7affe6f4821404beImage Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1740355200' |
| 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.0 |
| 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"] |