forked from metin2/server
Compare commits
26 Commits
83707434ee
...
48ee253534
Author | SHA1 | Date | |
---|---|---|---|
48ee253534 | |||
27108d629a | |||
6616009e92 | |||
1ada609020 | |||
175816c81d | |||
b15eb7f3fe | |||
3a8d9e38e8 | |||
4074c3b96a | |||
854fef68e8 | |||
cf66bb3310 | |||
254f6f6664 | |||
0072bc5e14 | |||
62f3635b86 | |||
2c37b2009d | |||
e0701ed5bd | |||
21381a4e3a | |||
ba44269071 | |||
f5ccb17736 | |||
bb52a57ffc | |||
8360d6939f | |||
1e362d8507 | |||
0a907f41d2 | |||
dbcabd7fa9 | |||
fcc2a9e4a0 | |||
12b6abf373 | |||
e1daa48366 |
@ -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/
|
11
Dockerfile
11
Dockerfile
@ -1,6 +1,11 @@
|
||||
FROM ubuntu:latest as build
|
||||
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 \
|
||||
@ -21,7 +26,7 @@ RUN mkdir build/
|
||||
RUN cd build && cmake -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake ..
|
||||
RUN cd build && make -j $(nproc)
|
||||
|
||||
FROM ubuntu:latest as app
|
||||
FROM ubuntu:22.04 as app
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y python2 libdevil-dev libbsd-dev && apt-get clean
|
||||
@ -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
Reference in New Issue
Block a user