Skip to content

Commit

Permalink
Update to most recent steam runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Apr 5, 2020
1 parent bc518ce commit 7733666
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 8 additions & 6 deletions utils/dockerbuilds/make_steam_image
Expand Up @@ -2,17 +2,19 @@

VALVEFILE=com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile
VALVETAR=com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz
VALVE_SNAPSHOT=0.20200318.2

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
if [ ! -f "$VALVEFILE" ]; then
wget http://repo.steampowered.com/steamrt-images-scout/snapshots/"$VALVE_SNAPSHOT"/"$VALVEFILE"
fi
if [ ! -f $VALVETAR ]; then
wget http://repo.steampowered.com/steamrt-images-scout/snapshots/0.20190608.0/$VALVETAR
if [ ! -f "$VALVETAR" ]; then
wget http://repo.steampowered.com/steamrt-images-scout/snapshots/"$VALVE_SNAPSHOT"/"$VALVETAR"
fi

docker build -t $DOCKERBASEIMAGE -f $VALVEFILE .
docker build -t "$DOCKERBASEIMAGE" -f "$VALVEFILE" .

docker build -t $DOCKERLOCALIMAGE -f $DOCKERLOCALFILE .
docker build -t "$DOCKERLOCALIMAGE" -f "$DOCKERLOCALFILE" .
5 changes: 3 additions & 2 deletions utils/dockerbuilds/travis/Dockerfile-base-steamrt
Expand Up @@ -3,10 +3,11 @@ ENV DEBIAN_FRONTEND=noninteractive
ARG BOOST_VERSION=1.66.0
ARG BOOST_VERSION_=1_66_0

RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y scons libicu-dev libreadline-dev expect-dev
RUN apt-get update
RUN apt-get install -y scons libicu-dev libreadline-dev expect-dev

RUN wget --max-redirect 3 https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_}.tar.gz
RUN mkdir -p /src/boost && tar zxf boost_${BOOST_VERSION_}.tar.gz -C /src/boost --strip-components=1
RUN cd /src/boost && ./bootstrap.sh --with-libraries=iostreams,regex,system,filesystem,program_options,random,locale && ./b2 toolset=gcc-5 --layout=system link=static variant=release cxxflags='-fPIE -fstack-protector-strong' define=_FORTIFY_SOURCE=2 install

RUN mkdir -p /staging/lib64 && cp /lib/libicu*.so.* /lib/x86_64-linux-gnu/libhistory.so.6 /staging/lib64/
RUN mkdir -p /staging/lib64 && cp /usr/lib/libicu*.so.* /lib/x86_64-linux-gnu/libhistory.so.6 /staging/lib64/

0 comments on commit 7733666

Please sign in to comment.