git repos / blockattack-game

blame: source/misc/docker/Dockerfile.WindoesBuild

normal view · raw

f1a2332d sago007 2017-03-01 18:24 1
FROM sago007/docker_blockattack
f1a2332d sago007 2017-03-01 18:24 2
f1a2332d sago007 2017-03-01 18:24 3
RUN mkdir -p /staging/blockattack-game
f1a2332d sago007 2017-03-01 18:24 4
f1a2332d sago007 2017-03-01 18:24 5
RUN mkdir -p /staging/package/
f1a2332d sago007 2017-03-01 18:24 6
f1a2332d sago007 2017-03-01 18:24 7
RUN mkdir -p /output
f1a2332d sago007 2017-03-01 18:24 8
f1a2332d sago007 2017-03-01 18:24 9
COPY . /staging/blockattack-game
f1a2332d sago007 2017-03-01 18:24 10
b15a7414 Poul Sander 2024-05-10 20:02 11
ENV BLOCKATTACK_VERSION 2.10.0-SNAPSHOT
f1a2332d sago007 2017-03-01 18:24 12
f1a2332d sago007 2017-03-01 18:24 13
RUN cd /staging/blockattack-game && \
8d54d0e8 Poul Sander 2025-01-20 22:28 14
./packdata.sh && ls -lrt source/misc/embedded_libs/fmt-11.0.2 && \
8d54d0e8 Poul Sander 2025-01-20 22:28 15
x86_64-w64-mingw32.static-cmake . && \
8d54d0e8 Poul Sander 2025-01-20 22:28 16
make clean && make && \
f1a2332d sago007 2017-03-01 18:24 17
cd windows\ installer/ && \
f1a2332d sago007 2017-03-01 18:24 18
makensis install_script.nsi && \
f1a2332d sago007 2017-03-01 18:24 19
mv Setup.exe /output/blockattack-installer-${BLOCKATTACK_VERSION}.exe && \
f1a2332d sago007 2017-03-01 18:24 20
mkdir /staging/package/blockattack-${BLOCKATTACK_VERSION} && \
f1a2332d sago007 2017-03-01 18:24 21
cd /staging/package/blockattack-${BLOCKATTACK_VERSION} && \
f1a2332d sago007 2017-03-01 18:24 22
cp /staging/blockattack-game/Game/blockattack.data ./ && \
f1a2332d sago007 2017-03-01 18:24 23
cp /staging/blockattack-game/Game/blockattack.exe ./ && \
f1a2332d sago007 2017-03-01 18:24 24
cp /staging/blockattack-game/COPYING ./COPYING.txt && \
05a00d3f Poul Sander 2021-10-10 18:06 25
mkdir -p mods && cp /staging/blockattack-game/Game/mods/1.3.0.bricks.data ./mods/ && \
f1a2332d sago007 2017-03-01 18:24 26
cp -r /staging/blockattack-game/source/misc/translation/locale ./ && \
6630f18d sago007 2017-04-01 11:44 27
echo "[InternetShortcut]" > "Block Attack - Rise Of the Blocks.url" && \
99e5d403 Poul Sander 2019-06-19 18:07 28
echo "URL=https://blockattack.net" >> "Block Attack - Rise Of the Blocks.url" && \
f1a2332d sago007 2017-03-01 18:24 29
cd /staging/package/ && \
6630f18d sago007 2017-04-01 11:44 30
zip -r /output/blockattack-${BLOCKATTACK_VERSION}-windows-no-installer.zip "blockattack-${BLOCKATTACK_VERSION}" && \
1006c80e Poul Sander 2022-02-15 15:06 31
mv blockattack-${BLOCKATTACK_VERSION} blockattack-itch && \
1006c80e Poul Sander 2022-02-15 15:06 32
zip -r /output/blockattack-itch-${BLOCKATTACK_VERSION}.zip "blockattack-itch" && \
f1a2332d sago007 2017-03-01 18:24 33
cd /output && chown nobody * && chmod 666 * && ls -lh
1970-01-01 00:00 34