mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-23 18:48:15 +00:00
14 lines
906 B
Plaintext
14 lines
906 B
Plaintext
FROM steamrt_scout_amd64
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ARG BOOST_VERSION=1.66.0
|
|
ARG BOOST_VERSION_=1_66_0
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y scons libsdl2-dev libicu-dev libreadline-dev expect-dev
|
|
|
|
RUN wget --max-redirect 3 https://boostorg.jfrog.io/artifactory/main/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,context,coroutine && ./b2 toolset=gcc-9 --layout=system link=static variant=release cxxflags='-fPIE -fstack-protector-strong' define=_FORTIFY_SOURCE=2 install
|
|
|
|
RUN mkdir -p /staging/lib64 && cp /usr/lib/libicu*.so.* /lib/x86_64-linux-gnu/libhistory.so.6 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libssl.so.1.0.0 /staging/lib64/
|