az-gs (sha256:c5fcb66ae5298dbd4882587ca213e7dc76bf16c081317bad9b1d608de0bdfa23)
Published 2024-03-26 12:39:39 +00:00 by mrhid6
Installation
docker pull gitea.hostxtra.co.uk/azmarin/az-gs@sha256:c5fcb66ae5298dbd4882587ca213e7dc76bf16c081317bad9b1d608de0bdfa23sha256:c5fcb66ae5298dbd4882587ca213e7dc76bf16c081317bad9b1d608de0bdfa23Image Layers
| ADD file:b18b4c32dd8042f45097997c732dc29b3917fd7d5f337f9e772eee5875fbe6f1 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.8 |
| 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 /usr/local/go/ /usr/local/go/ # 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"] |