diff options
Diffstat (limited to 'linux-build-farm')
-rwxr-xr-x | linux-build-farm/build.sh | 3 | ||||
-rw-r--r-- | linux-build-farm/ubuntu-xenial/x64/Dockerfile | 10 | ||||
-rw-r--r-- | linux-build-farm/ubuntu-xenial/x86/Dockerfile | 10 |
3 files changed, 23 insertions, 0 deletions
diff --git a/linux-build-farm/build.sh b/linux-build-farm/build.sh index e42ddda6..045ce995 100755 --- a/linux-build-farm/build.sh +++ b/linux-build-farm/build.sh @@ -17,6 +17,9 @@ cd .. git archive --format=tar.gz --prefix=ZeroTierOne/ -o linux-build-farm/zt1-src.tar.gz HEAD cd linux-build-farm +# Note that --privileged is used so we can bind mount VM shares when building in a VM. +# It has no other impact or purpose, but probably doesn't matter here in any case. + for distro in $*; do cd $distro diff --git a/linux-build-farm/ubuntu-xenial/x64/Dockerfile b/linux-build-farm/ubuntu-xenial/x64/Dockerfile new file mode 100644 index 00000000..86bbf8a7 --- /dev/null +++ b/linux-build-farm/ubuntu-xenial/x64/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:xenial +MAINTAINER Adam Ierymenko <adam.ierymenko@zerotier.com> + +RUN apt-get update +RUN apt-get install -y build-essential debhelper libhttp-parser-dev liblz4-dev libnatpmp-dev dh-systemd ruby-ronn g++ make devscripts clang-3.8 + +ADD zt1-src.tar.gz / + +RUN ln -sf /usr/bin/clang++-3.8 /usr/bin/clang++ +RUN ln -sf /usr/bin/clang-3.8 /usr/bin/clang diff --git a/linux-build-farm/ubuntu-xenial/x86/Dockerfile b/linux-build-farm/ubuntu-xenial/x86/Dockerfile new file mode 100644 index 00000000..21ffb17e --- /dev/null +++ b/linux-build-farm/ubuntu-xenial/x86/Dockerfile @@ -0,0 +1,10 @@ +FROM f69m/ubuntu32:xenial +MAINTAINER Adam Ierymenko <adam.ierymenko@zerotier.com> + +RUN apt-get update +RUN apt-get install -y build-essential debhelper libhttp-parser-dev liblz4-dev libnatpmp-dev dh-systemd ruby-ronn g++ make devscripts clang-3.8 + +ADD zt1-src.tar.gz / + +RUN ln -sf /usr/bin/clang++-3.8 /usr/bin/clang++ +RUN ln -sf /usr/bin/clang-3.8 /usr/bin/clang |