mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 10:37:33 -07:00
Build and spec file updates for CentOS6
This commit is contained in:
parent
06e2e8119e
commit
af0a205594
6 changed files with 240 additions and 6 deletions
|
@ -31,7 +31,7 @@ for distro in $*; do
|
|||
mv zt1-src.tar.gz ../..
|
||||
cd ..
|
||||
|
||||
docker run --rm -v `pwd`:/artifacts --privileged -it zt1-build-${distro}-x64 /bin/bash -c 'cd /ZeroTierOne ; make debian ; cd .. ; cp *.deb /artifacts ; ls -l /artifacts'
|
||||
# docker run --rm -v `pwd`:/artifacts --privileged -it zt1-build-${distro}-x64 /bin/bash -c 'cd /ZeroTierOne ; make `[ -f /etc/debian_version ] && echo debian || echo redhat` ; cd .. ; cp *.deb /artifacts ; ls -l /artifacts'
|
||||
|
||||
cd x86
|
||||
mv ../../zt1-src.tar.gz .
|
||||
|
@ -39,7 +39,7 @@ for distro in $*; do
|
|||
mv zt1-src.tar.gz ../..
|
||||
cd ..
|
||||
|
||||
docker run --rm -v `pwd`:/artifacts --privileged -it zt1-build-${distro}-x86 /bin/bash -c 'cd /ZeroTierOne ; make debian ; cd .. ; cp *.deb /artifacts ; ls -l /artifacts'
|
||||
# docker run --rm -v `pwd`:/artifacts --privileged -it zt1-build-${distro}-x86 /bin/bash -c 'cd /ZeroTierOne ; make `[ -f /etc/debian_version ] && echo debian || echo redhat` ; cd .. ; cp *.deb /artifacts ; ls -l /artifacts'
|
||||
|
||||
cd ..
|
||||
done
|
||||
|
|
11
linux-build-farm/centos-6/x64/Dockerfile
Normal file
11
linux-build-farm/centos-6/x64/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM centos:6
|
||||
MAINTAINER Adam Ierymenko <adam.ierymenko@zerotier.com>
|
||||
|
||||
RUN yum update -y
|
||||
RUN yum install -y epel-release
|
||||
RUN yum install -y clang make development-tools rpmdevtools http-parser-devel lz4-devel libnatpmp-devel
|
||||
|
||||
ADD zt1-src.tar.gz /
|
||||
|
||||
#RUN ln -sf /usr/bin/clang++-3.5 /usr/bin/clang++
|
||||
#RUN ln -sf /usr/bin/clang-3.5 /usr/bin/clang
|
11
linux-build-farm/centos-6/x86/Dockerfile
Normal file
11
linux-build-farm/centos-6/x86/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM toopher/centos-i386:centos6
|
||||
MAINTAINER Adam Ierymenko <adam.ierymenko@zerotier.com>
|
||||
|
||||
RUN yum update -y
|
||||
RUN yum install -y epel-release
|
||||
RUN yum install -y clang make development-tools rpmdevtools http-parser-devel lz4-devel libnatpmp-devel
|
||||
|
||||
ADD zt1-src.tar.gz /
|
||||
|
||||
#RUN ln -sf /usr/bin/clang++-3.5 /usr/bin/clang++
|
||||
#RUN ln -sf /usr/bin/clang-3.5 /usr/bin/clang
|
BIN
linux-build-farm/centos-6/x86/zt1-src.tar.gz
Normal file
BIN
linux-build-farm/centos-6/x86/zt1-src.tar.gz
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue