Add capability to compile vintage story mods
This commit is contained in:
parent
abaefd3e10
commit
15d9f5e109
3 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
FROM git.zontreck.com/ariascreations/buildenvironments:appimage AS BUILDER
|
||||
|
||||
ADD ./vs_server_linux-x64_1.19.8.tar.gz /
|
||||
WORKDIR /
|
||||
RUN mkdir vintagestory && cd vintagestory && tar -xvf ../vs_server_linux-x64_1.19.8.tar.gz
|
||||
RUN rm /*.tar.gz
|
||||
|
||||
|
||||
FROM git.zontreck.com/ariascreations/buildenvironments:appimage
|
||||
|
||||
ENV PUB NAN
|
||||
|
@ -10,4 +18,11 @@ WORKDIR /
|
|||
ADD ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
WORKDIR /root/.local/share
|
||||
|
||||
COPY --from=BUILDER --chown=root:root /vintagestory /root/.local/share/vintagestory
|
||||
ADD ./update_vs_dotgame /bin/update_vs_dotgame
|
||||
RUN chmod +x /bin/update_vs_dotgame
|
||||
|
||||
|
||||
ENTRYPOINT [ "/bin/bash", "/entrypoint.sh" ]
|
||||
|
|
4
LinuxGeneralCompiler/update_vs_dotgame
Executable file
4
LinuxGeneralCompiler/update_vs_dotgame
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm .game || true
|
||||
ln -sv ~/.local/share/vintagestory .game
|
BIN
LinuxGeneralCompiler/vs_server_linux-x64_1.19.8.tar.gz
Normal file
BIN
LinuxGeneralCompiler/vs_server_linux-x64_1.19.8.tar.gz
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue