ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:291158c1d919b2d4290b5112a77dc0f7bdf0d45caa53b3556390707d29d2796a 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"] |