Commit a529695f authored by Max Maton's avatar Max Maton

Build steam docker image

parent d5251f56
Pipeline #6833 failed with stage
in 1 minute and 51 seconds
......@@ -3,7 +3,10 @@ build_image:
services:
- docker:dind
script:
- git clone https://github.com/ValveSoftware/steam-runtime.git
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN containers.empiresmod.com
- steam-runtime/setup_docker.sh -- i386 containers.empiresmod.com/empires_public/empires-build-container:steam
- docker push containers.empiresmod.com/empires_public/empires-build-container:steam
- docker build -t containers.empiresmod.com/empires_public/empires-build-container .
- docker push containers.empiresmod.com/empires_public/empires-build-container:latest
only:
......
......@@ -12,14 +12,13 @@ rm steam-runtime* 2>/dev/null || true
if [ ! -d /valve/steam-runtime ]; then
echo "Downloading steam runtime"
#wget http://media.steampowered.com/client/runtime/steam-runtime-sdk_latest.tar.xz 2> /dev/null
#unxz *.xz
#mv *.tar runtime.tar
#tar -xf runtime.tar
#mv steam-runtime* steam-runtime
git clone https://github.com/ValveSoftware/steam-runtime.git
wget http://media.steampowered.com/client/runtime/steam-runtime-sdk_latest.tar.xz 2> /dev/null
unxz *.xz
mv *.tar runtime.tar
tar -xf runtime.tar
mv steam-runtime* steam-runtime
fi
cd steam-runtime
echo "Configuring steam runtime"
#./setup.sh --host=i386 --target=i386 --release --auto-update
#ln -s /valve/steam-runtime/bin/tool.sh /valve/steam-runtime/bin/objcopy
./setup.sh --host=i386 --target=i386 --release --auto-update
ln -s /valve/steam-runtime/bin/tool.sh /valve/steam-runtime/bin/objcopy
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment