Skip to content

Commit

Permalink
Place dependencies for running steamrt build in correct subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Nov 6, 2019
1 parent f0f7b7b commit a7ba3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/dockerbuilds/steamrt/Dockerfile
Expand Up @@ -10,6 +10,6 @@ RUN mkdir -p /src/boost && tar zxf boost_${BOOST_VERSION_}.tar.gz -C /src/boost
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

COPY start.sh /staging/start.sh
RUN cp /lib/libicu*.so.* /lib/x86_64-linux-gnu/libhistory.so.6 /staging/
RUN mkdir /staging/lib64 && cp /lib/libicu*.so.* /lib/x86_64-linux-gnu/libhistory.so.6 /staging/lib64/

ENTRYPOINT mkdir /build && cd /build && scons -j `nproc` ctool=gcc-5 cxxtool=g++-5 boostdir=/usr/local/include boostlibdir=/usr/local/lib extra_flags_config=-lrt -Y /wesnoth && cp /build/wesnoth /output/ && cp /staging/* /output/
ENTRYPOINT mkdir /build && cd /build && scons -j `nproc` ctool=gcc-5 cxxtool=g++-5 boostdir=/usr/local/include boostlibdir=/usr/local/lib extra_flags_config=-lrt -Y /wesnoth && cp /build/wesnoth /output/ && cp -r /staging/* /output/

0 comments on commit a7ba3a7

Please sign in to comment.