mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 09:59:26 +00:00
12 lines
710 B
Plaintext
12 lines
710 B
Plaintext
FROM steamrt_sniper_amd64
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ARG BOOST_VERSION=1.85.0
|
|
ARG BOOST_VERSION_=1_85_0
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y scons 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=charconv,iostreams,regex,system,filesystem,program_options,random,locale,context,coroutine,graph && ./b2 toolset=gcc-10 --layout=system link=static variant=release cxxflags='-fPIE -fstack-protector-strong' define=_FORTIFY_SOURCE=2 install
|