Buildbot:LXC: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
https://springrts.com/mantis/view.php?id=5294 | https://springrts.com/mantis/view.php?id=5294 | ||
== Create containers == | |||
<pre> | |||
lxc-create -t download -n buildslave-x64 -- --dist ubuntu --release xenial --arch amd64 | |||
lxc-create -t download -n buildslave-x32 -- --dist ubuntu --release xenial --arch i386 | |||
</pre> | |||
== Shell inside container == | == Shell inside container == | ||
Revision as of 15:33, 23 April 2018
https://springrts.com/mantis/view.php?id=5294
Create containers
lxc-create -t download -n buildslave-x64 -- --dist ubuntu --release xenial --arch amd64 lxc-create -t download -n buildslave-x32 -- --dist ubuntu --release xenial --arch i386
Shell inside container
lxc exec buildslave-x64 /bin/bash
Install requirements
sudo apt update
sudo apt install g++ make cmake p7zip-full ninja-build
sudo apt install libxmu-dev libxi-dev default-jre default-jdk \
libcurl4-gnutls-dev libssl-dev libopenal-dev libvorbis-dev \
libogg-dev libsdl2-dev libfreetype6-dev libfontconfig1-dev
# needed for building libILU.so in DevIL, which isn't really needed
sudo apt install freeglut3-dev
# required by spring, not actually used in DevIL
sudo apt install libgif-dev