mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 17:26:23 +00:00
19 lines
661 B
Bash
Executable File
19 lines
661 B
Bash
Executable File
#!/bin/sh -xe
|
|
|
|
VALVEFILE=com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile
|
|
VALVETAR=com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz
|
|
DOCKERBASEIMAGE=steamrt_scout_amd64
|
|
DOCKERLOCALIMAGE=wesnoth/wesnoth:steamrt-master
|
|
DOCKERLOCALFILE=./travis/Dockerfile-base-steamrt
|
|
|
|
if [ ! -f $VALVEFILE ]; then
|
|
wget http://repo.steampowered.com/steamrt-images-scout/snapshots/0.20190608.0/$VALVEFILE
|
|
fi
|
|
if [ ! -f $VALVETAR ]; then
|
|
wget http://repo.steampowered.com/steamrt-images-scout/snapshots/0.20190608.0/$VALVETAR
|
|
fi
|
|
|
|
docker build -t $DOCKERBASEIMAGE -f $VALVEFILE .
|
|
|
|
docker build -t $DOCKERLOCALIMAGE -f $DOCKERLOCALFILE .
|