mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 17:50:25 +01:00
15 lines
708 B
Docker
15 lines
708 B
Docker
# Uses an old version of Ubuntu in order to target an old version of GLIBC so users
|
|
# with older versions of GLIBC installed on their systems can use the library.
|
|
FROM kroggen/ubuntu-16.04-gcc
|
|
RUN apt-get update -y
|
|
RUN apt-get install -y software-properties-common
|
|
RUN add-apt-repository -y ppa:jblgf0/python
|
|
RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
RUN apt-get update -y
|
|
RUN apt-get install -y curl gcc-9-multilib g++-9-multilib python3.7
|
|
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.7
|
|
RUN pip3 install scons==4.4.0
|
|
RUN ln -sf /usr/bin/gcc-9 /usr/bin/gcc
|
|
RUN ln -s /usr/bin/g++-9 /usr/bin/g++
|
|
VOLUME /scons-cache
|
|
CMD scons target=${TARGET:-template_release} arch=${ARCH:-x86_64}
|