diff options
-rwxr-xr-x | linux-build-farm/aptly.sh | 6 | ||||
-rw-r--r-- | linux-build-farm/debian-stretch/x64/Dockerfile | 10 | ||||
-rw-r--r-- | linux-build-farm/debian-stretch/x86/Dockerfile | 10 |
3 files changed, 23 insertions, 3 deletions
diff --git a/linux-build-farm/aptly.sh b/linux-build-farm/aptly.sh index 8f96d3a0..7a81cc5c 100755 --- a/linux-build-farm/aptly.sh +++ b/linux-build-farm/aptly.sh @@ -9,8 +9,8 @@ for distro in debian-* ubuntu-*; do arches=`ls ${distro}/*.deb | cut -d _ -f 3 | cut -d . -f 1 | xargs | sed 's/ /,/g'` distro_name=`echo $distro | cut -d '-' -f 2` echo '---' $distro / $distro_name / $arches - aptly repo create -architectures=${arches} -comment="ZeroTier, Inc. Debian Packages" -component="main" -distribution=${distro_name} zt-release-${distro} - aptly repo add zt-release-${distro} ${distro}/*.deb - aptly publish repo zt-release-${distro} ${distro_name} + aptly repo create -architectures=${arches} -comment="ZeroTier, Inc. Debian Packages" -component="main" -distribution=${distro_name} zt-release-${distro_name} + aptly repo add zt-release-${distro_name} ${distro}/*.deb + aptly publish repo zt-release-${distro_name} $distro_name fi done diff --git a/linux-build-farm/debian-stretch/x64/Dockerfile b/linux-build-farm/debian-stretch/x64/Dockerfile new file mode 100644 index 00000000..c5fdc2a1 --- /dev/null +++ b/linux-build-farm/debian-stretch/x64/Dockerfile @@ -0,0 +1,10 @@ +FROM debian:stretch +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 + +#RUN ln -sf /usr/bin/clang++-3.5 /usr/bin/clang++ +#RUN ln -sf /usr/bin/clang-3.5 /usr/bin/clang + +ADD zt1-src.tar.gz / diff --git a/linux-build-farm/debian-stretch/x86/Dockerfile b/linux-build-farm/debian-stretch/x86/Dockerfile new file mode 100644 index 00000000..159e83c7 --- /dev/null +++ b/linux-build-farm/debian-stretch/x86/Dockerfile @@ -0,0 +1,10 @@ +FROM mcandre/docker-debian-32bit:stretch +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 + +#RUN ln -sf /usr/bin/clang++-3.5 /usr/bin/clang++ +#RUN ln -sf /usr/bin/clang-3.5 /usr/bin/clang + +ADD zt1-src.tar.gz / |