| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:59e67123ba6a5d9eea9813e7b2a767696f767c15c5b23c61c4d5bd6ba6fa9ac6 in / |
| CMD ["/bin/bash"] |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get install -y gettext python2 libdevil1c2 libbsd0 && apt-get clean # buildkit |
| COPY /app/build/src/db/db /bin/db # buildkit |
| COPY /app/build/src/game/game /bin/game # buildkit |
| COPY /app/build/src/quest/qc /bin/qc # buildkit |
| COPY ./gamefiles/ . # buildkit |
| COPY ./docker/ . # buildkit |
| RUN /bin/sh -c cd /app/data/quest && python2 make.py # buildkit |
| RUN /bin/sh -c ln -s "./conf/CMD" "CMD" # buildkit |
| RUN /bin/sh -c ln -s ./conf/item_names_en.txt item_names.txt # buildkit |
| RUN /bin/sh -c ln -s ./conf/item_proto.txt item_proto.txt # buildkit |
| RUN /bin/sh -c ln -s ./conf/mob_names_en.txt mob_names.txt # buildkit |
| RUN /bin/sh -c ln -s ./conf/mob_proto.txt mob_proto.txt # buildkit |
| ENV PUBLIC_BIND_IP=0.0.0.0 |
| ENV INTERNAL_BIND_IP=0.0.0.0 |
| ENTRYPOINT ["/usr/bin/bash" "docker-entrypoint.sh"] |