| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:c5143b228eb55f19ed4d3b653ad68ec7afe54ded0247e090ce3afb9e5484adfb in / |
| CMD ["/bin/bash"] |
| ARG BUILD_MODE=CORE |
| ENV BUILD_MODE=CORE |
| ARG CORE_REVISION=6533349 |
| ENV CORE_REVISION=6533349 |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c apt update && apt install -y default-mysql-client screen curl git nano libmysqlclient21 netcat # buildkit |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c mkdir -p /opt/cmangos /opt/run # buildkit |
| COPY binaries/ /opt/run/ # buildkit |
| COPY scripts/git_script.sh /opt/run/bin/git_script.sh # buildkit |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c chmod +x /opt/run/bin/git_script.sh # buildkit |
| COPY scripts/get_local_versions.sh /opt/run/bin/get_local_versions.sh # buildkit |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c chmod +x /opt/run/bin/get_local_versions.sh # buildkit |
| COPY scripts/get_remote_versions.sh /opt/run/bin/get_remote_versions.sh # buildkit |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c chmod +x /opt/run/bin/get_remote_versions.sh # buildkit |
| COPY scripts/get_versions_cli.sh /opt/run/bin/get_versions_cli.sh # buildkit |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c chmod +x /opt/run/bin/get_versions_cli.sh # buildkit |
| COPY scripts/version_common.sh /opt/run/bin/version_common.sh # buildkit |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c chmod +x /opt/run/bin/version_common.sh # buildkit |
| COPY entrypoint.sh /opt/run/bin/entrypoint.sh # buildkit |
| RUN |2 BUILD_MODE=CORE CORE_REVISION=6533349 /bin/sh -c chmod +x /opt/run/bin/entrypoint.sh # buildkit |
| WORKDIR /opt/run/bin |
| ENTRYPOINT ["./entrypoint.sh"] |