forked from metin2/server
nightly #2
.dockerignoreDockerfile
gamefiles/data
BlueDragon.luablend.txtcharset.txtcommon_drop_item.txtcube.txtdragon_soul_table.txtdrop_item_group.txtetc_drop_item.txtfishing.txtforkedmapindex.txtgroup.txtgroup_group.txtinsult.txtlocale_string_cz.txtlocale_string_de.txtlocale_string_dk.txtlocale_string_es.txtlocale_string_fr.txtlocale_string_gr.txtlocale_string_hu.txtlocale_string_it.txtlocale_string_kr.txtlocale_string_nl.txtlocale_string_pl.txtlocale_string_pt.txtlocale_string_ro.txtlocale_string_ru.txtlocale_string_tr.txt
map
Metin2_map_CapeDragonHead
easter
metin_regen_level10.txtmetin_regen_level20.txtmetin_regen_level30.txtmetin_regen_level40.txtmetin_regen_level50.txtmetin_regen_level60.txtmetin_regen_level70.txtmetin_regen_level80.txtmetin_regen_level90.txtmetin_regen_level95.txt
find_map.pyfind_map.shgm_guild_build
indexmap_n_snowm_01
map_n_snowm_02
map_n_threeway
metin2_ad4
metin2_guild_village_01
metin2_guild_village_02
metin2_guild_village_03
metin2_map_BayBlackSand
@ -10,9 +10,9 @@ Dockerfile
|
||||
.gitkeep
|
||||
|
||||
# Compiled quests
|
||||
gamefiles/locale/english/quest/object/
|
||||
gamefiles/locale/english/quest/pre_qc/
|
||||
gamefiles/locale/english/quest/qc
|
||||
gamefiles/data/quest/object/
|
||||
gamefiles/data/quest/pre_qc/
|
||||
gamefiles/data/quest/qc
|
||||
|
||||
# Test folder
|
||||
test/
|
@ -1,6 +1,11 @@
|
||||
FROM ubuntu:22.04 as build
|
||||
WORKDIR /app
|
||||
|
||||
# Set up the CMake repository
|
||||
RUN apt-get update && apt-get install -y ca-certificates gpg wget
|
||||
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
|
||||
RUN echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null
|
||||
|
||||
# Update the system and install various dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y git cmake ninja-build build-essential tar curl zip unzip pkg-config autoconf python3 \
|
||||
@ -35,7 +40,7 @@ COPY --from=build /app/build/src/quest/qc /bin/qc
|
||||
COPY ./gamefiles/ .
|
||||
|
||||
# Compile the quests
|
||||
RUN cd /app/locale/english/quest && python2 make.py
|
||||
RUN cd /app/data/quest && python2 make.py
|
||||
|
||||
# Symlink the configuration files
|
||||
RUN ln -s "./conf/CMD" "CMD"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user