mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-06 08:21:36 +07:00
Resolved #9207 - Dockerfile update for new location
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
|
||||
ARG ARG_COMPILE_BASE_IMAGE=accetto/ubuntu-vnc-xfce-opengl-g3
|
||||
FROM $ARG_COMPILE_BASE_IMAGE as build
|
||||
USER root
|
||||
@ -25,8 +24,8 @@ RUN ./gradlew desktop:zipLinuxFilesForJar
|
||||
|
||||
FROM accetto/ubuntu-vnc-xfce-opengl-g3 as run
|
||||
WORKDIR /home/headless/Desktop/
|
||||
COPY --chown=1001:1001 --from=build /src/desktop/packr/* /usr/
|
||||
COPY --chown=1001:1001 --from=build /src/desktop/packr/Unciv.jar /usr/share/Unciv/Unciv.jar
|
||||
COPY --chown=1001:1001 --from=build /src/desktop/linuxFilesForJar/* /home/headless/Desktop/
|
||||
COPY --chown=1001:1001 --from=build /src/deploy/* /usr/
|
||||
COPY --chown=1001:1001 --from=build /src/deploy/Unciv.jar /usr/share/Unciv/Unciv.jar
|
||||
COPY --chown=1001:1001 --from=build /src/deploy/linuxFilesForJar/* /home/headless/Desktop/
|
||||
RUN chmod +x Unciv.sh
|
||||
USER 1001
|
Reference in New Issue
Block a user