az-gs (sha256:feb13a7f1b2c36efbcbce1ef58671fd71c0c13599c346e7a89742edfcedaed1e)
Published 2024-06-19 12:46:05 +00:00 by mrhid6
Installation
docker pull gitea.hostxtra.co.uk/azmarin/az-gs@sha256:feb13a7f1b2c36efbcbce1ef58671fd71c0c13599c346e7a89742edfcedaed1esha256:feb13a7f1b2c36efbcbce1ef58671fd71c0c13599c346e7a89742edfcedaed1eImage Layers
| ADD file:b532f8e401e9a1fcc2ea1fc034adf820a5269c6ace45769f60a81fcb673f01b8 in / |
| CMD ["bash"] |
| /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/* |
| /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/* |
| 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.21.11 |
| 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 upgrade -y && apt-get -qq install apt-utils wget curl unzip -y && mkdir -p /azmarin/server /azmarin/app && useradd -m -s /bin/bash AZGameServer # buildkit |
| COPY gamerelease/* /azmarin/server/ # buildkit |
| COPY release/* /azmarin/app/ # buildkit |
| COPY entry.sh / # buildkit |
| RUN /bin/sh -c unzip /azmarin/server/Azmarin_Server.zip -d /azmarin/server && chown -R AZGameServer:AZGameServer /azmarin && chmod -R 777 /azmarin && chmod 777 /entry.sh # buildkit |
| ENTRYPOINT ["/entry.sh"] |