This commit is contained in:
2025-07-04 15:22:56 -07:00
parent 675ba6fd40
commit 73b93b242b

View File

@@ -7,7 +7,7 @@ ENV GAME_PORT_2=""
ENV GAME_PORT_3="" ENV GAME_PORT_3=""
# URL's for files # URL's for files
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/veloren/refs/heads/main/files/install_script.sh ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/veloren/raw/branch/main/files/install_script.sh
# Install java-17 & Dependencies. # Install java-17 & Dependencies.
RUN apt-get -y update && apt-get autoclean && apt-get autoremove \ RUN apt-get -y update && apt-get autoclean && apt-get autoremove \
@@ -21,8 +21,9 @@ RUN apt-get -y update && apt-get autoclean && apt-get autoremove \
RUN mkdir -p /veloren /veloren-temp \ RUN mkdir -p /veloren /veloren-temp \
&& chmod 777 -R /veloren /veloren-temp \ && chmod 777 -R /veloren /veloren-temp \
&& chown 99:100 -R /veloren /veloren-temp && chown 99:100 -R /veloren /veloren-temp
ADD "$INSTALL_SCRIPT" /veloren
RUN chmod +x /veloren-temp/install_script.sh RUN wget --no-cache "$INSTALL_SCRIPT" -O /veloren-temp/install_script.sh \
&& chmod +x /veloren-temp/install_script.sh
# Directory where data is stored # Directory where data is stored
VOLUME /veloren VOLUME /veloren