mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-05 04:34:23 +02:00
Add Docker build for Linux
Adds support for building Linux binaries inside a docker container in order to target an older version of GLIBC. Updates GitHub Actions workflow to use it. As a result the minimum version of GLIBC that Linux users need to have installed on their system is 2.17 which was released in 2012.
This commit is contained in:
parent
3670856851
commit
3fdc9ef27e
6 changed files with 111 additions and 27 deletions
7
addons/godot_xterm/native/linux.Dockerfile
Normal file
7
addons/godot_xterm/native/linux.Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
# 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 python3 python3-pip gcc-multilib g++-multilib
|
||||
RUN pip3 install scons
|
||||
CMD scons platform=linux generate_bindings=yes target=${TARGET:-release} bits=${BITS:-64} -j$(nproc)
|
Loading…
Add table
Add a link
Reference in a new issue