diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-24 14:57:20 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-24 14:57:20 -0700 |
commit | 8b78f19335a0350f760f072e6984e304d2eaeb4e (patch) | |
tree | 59f4df638176e3ce508f92edfd5d8e4f957e3a5d /linux-build-farm | |
parent | 9784393b15abae9d68295c190a70a7ea3c169bb6 (diff) | |
download | infinitytier-8b78f19335a0350f760f072e6984e304d2eaeb4e.tar.gz infinitytier-8b78f19335a0350f760f072e6984e304d2eaeb4e.zip |
More build targets.
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 |