darkflameserver-docker (latest)

Published 2024-01-22 10:02:27 +00:00 by zebra

Installation

docker pull git.izebra.net/izebra_projects/darkflameserver-docker:latest
sha256:b3faa7880461c61bdc23033d572743782975a06916d15761fa31dbdbd6c1f74a

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:2b3b5254f38a790d40e31cb26155609f7fc99ef7bc99eae1e0d67fa9ae605f77 in /
CMD ["/bin/bash"]
RUN /bin/sh -c apt-get update # buildkit
RUN /bin/sh -c apt-get -y install mysql-client # buildkit
RUN /bin/sh -c DEBIAN_FRONTEND="noninteractive" && apt remove -y libmysqlcppconn7v5 libmysqlcppconn-dev && apt-get install -y gcc cmake git make g++ zlib1g-dev python3 python3-pip sqlite libssl-dev # buildkit
RUN /bin/sh -c pip3 install git+https://github.com/lcdr/utils # buildkit
RUN /bin/sh -c git clone --recursive https://github.com/DarkflameUniverse/DarkflameServer.git # buildkit
RUN /bin/sh -c mkdir -p /server; # buildkit
WORKDIR /server
RUN /bin/sh -c cmake /DarkflameServer/ # buildkit
RUN /bin/sh -c make -j$(grep -c '^processor' /proc/cpuinfo) # buildkit
COPY client-files/ ./ # buildkit
RUN /bin/sh -c cp -r /DarkflameServer/migrations/dlu /db-init # buildkit
RUN /bin/sh -c python3 -m utils.fdb_to_sqlite res/cdclient.fdb --sqlite_path res/CDServer.sqlite # buildkit
RUN /bin/sh -c for file in /DarkflameServer/migrations/cdserver/*; do cat $file | sqlite3 res/CDServer.sqlite ; done # buildkit
RUN /bin/sh -c rm -f res/cdclient.fdb # buildkit
RUN /bin/sh -c apt-get -y remove zlib1g-dev python3 python3-pip sqlite gcc cmake git make g++ libssl-dev # buildkit
RUN /bin/sh -c apt-get -y autoremove # buildkit
RUN /bin/sh -c rm -rdf /DarkflameServer # buildkit
RUN /bin/sh -c mkdir /config # buildkit
RUN /bin/sh -c mkdir /default-config # buildkit
RUN /bin/sh -c mv *.ini /default-config/ # buildkit
RUN /bin/sh -c for file in /default-config/*.ini; do ln -s /config/$(basename $file) . ; done # buildkit
RUN /bin/sh -c sed -i "s/use_sudo_auth.*/use_sudo_auth=0/g" /default-config/masterconfig.ini # buildkit
ENV MYSQL_DATABASE=luniserver_net
RUN /bin/sh -c mkdir -p /server/logs # buildkit
COPY start.sh start.sh # buildkit
ENTRYPOINT ["/bin/sh" "-c" "/server/start.sh"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2024-01-22 10:02:27 +00:00
20
OCI / Docker
linux/amd64
612 MiB
Versions (4) View all
latest 2024-01-22
nightly 2024-01-22
sha-9e04ac5 2024-01-22
main 2024-01-05