forked from metin2/server
Compare commits
2 Commits
nightly
...
2b9651febc
Author | SHA1 | Date | |
---|---|---|---|
2b9651febc | |||
8f9e9dc602 |
@ -10,9 +10,9 @@ Dockerfile
|
|||||||
.gitkeep
|
.gitkeep
|
||||||
|
|
||||||
# Compiled quests
|
# Compiled quests
|
||||||
gamefiles/data/quest/object/
|
gamefiles/locale/english/quest/object/
|
||||||
gamefiles/data/quest/pre_qc/
|
gamefiles/locale/english/quest/pre_qc/
|
||||||
gamefiles/data/quest/qc
|
gamefiles/locale/english/quest/qc
|
||||||
|
|
||||||
# Test folder
|
# Test folder
|
||||||
test/
|
test/
|
11
Dockerfile
11
Dockerfile
@ -1,11 +1,6 @@
|
|||||||
FROM ubuntu:22.04 as build
|
FROM ubuntu:latest as build
|
||||||
WORKDIR /app
|
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
|
# Update the system and install various dependencies
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y git cmake ninja-build build-essential tar curl zip unzip pkg-config autoconf python3 \
|
apt-get install -y git cmake ninja-build build-essential tar curl zip unzip pkg-config autoconf python3 \
|
||||||
@ -26,7 +21,7 @@ RUN mkdir build/
|
|||||||
RUN cd build && cmake -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake ..
|
RUN cd build && cmake -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake ..
|
||||||
RUN cd build && make -j $(nproc)
|
RUN cd build && make -j $(nproc)
|
||||||
|
|
||||||
FROM ubuntu:22.04 as app
|
FROM ubuntu:latest as app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y python2 libdevil-dev libbsd-dev && apt-get clean
|
RUN apt-get update && apt-get install -y python2 libdevil-dev libbsd-dev && apt-get clean
|
||||||
@ -40,7 +35,7 @@ COPY --from=build /app/build/src/quest/qc /bin/qc
|
|||||||
COPY ./gamefiles/ .
|
COPY ./gamefiles/ .
|
||||||
|
|
||||||
# Compile the quests
|
# Compile the quests
|
||||||
RUN cd /app/data/quest && python2 make.py
|
RUN cd /app/locale/english/quest && python2 make.py
|
||||||
|
|
||||||
# Symlink the configuration files
|
# Symlink the configuration files
|
||||||
RUN ln -s "./conf/CMD" "CMD"
|
RUN ln -s "./conf/CMD" "CMD"
|
||||||
|
2228
gamefiles/locale/english/locale_string.txt
Normal file
2228
gamefiles/locale/english/locale_string.txt
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user