diff options
author | Rob Austein <sra@hactrn.net> | 2019-02-14 14:40:54 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2019-02-14 14:40:54 +0000 |
commit | 1310e0b5635ee2bd4215a2fbfaa23b7d15e0377c (patch) | |
tree | 7ea71bbfd4b7e03627f1eed46a34937bf57f511a | |
parent | 6f702a880c0c8300385945afead0a8e8d8236adc (diff) |
Install now working but not licensing
-rwxr-xr-x | Builder1 | 7 | ||||
-rwxr-xr-x | Builder2 | 7 | ||||
-rw-r--r-- | Makefile | 6 |
3 files changed, 10 insertions, 10 deletions
@@ -15,3 +15,10 @@ apt-get install -y \ python-xvfbwrapper \ ratpoison \ sudo + +/cryptech-builder/ratinox ise-install + +rm -rf /Xilinx_ISE_DS_Lin_14.7_1015_1 + +adduser --disabled-password --gecos 'Cryptech Build Bot' --shell /bin/sh builder +echo >/etc/sudoers.d/builder 'builder ALL = (ALL) NOPASSWD: SETENV: ALL' @@ -2,13 +2,6 @@ set -ex -/cryptech-builder/ratinox ise-install - -rm -rf /Xilinx_ISE_DS_Lin_14.7_1015_1 - -adduser --disabled-password --gecos 'Cryptech Build Bot' --shell /bin/sh builder -echo >/etc/sudoers.d/builder 'builder ALL = (ALL) NOPASSWD: SETENV: ALL' - install -o builder -g builder /cryptech-builder/Xilinx.lic /home/builder/Xilinx.lic sudo -u builder /cryptech-builder/ratinox license-user @@ -8,7 +8,7 @@ stage0.stamp: sudo rm -rf fs touch $@ -stage1.stamp: stage0.stamp +stage1.stamp: stage0.stamp Builder1 docker run -it --name cryptech-builder-stage1 \ --mount type=bind,source=$(abspath .),target=/cryptech-builder \ cryptech-builder:stage0 \ @@ -17,7 +17,7 @@ stage1.stamp: stage0.stamp docker container rm cryptech-builder-stage1 touch $@ -stage2.stamp: stage1.stamp +stage2.stamp: stage1.stamp Builder2 docker run -it --name cryptech-builder-stage2 \ --mount type=bind,source=$(abspath .),target=/cryptech-builder \ cryptech-builder:stage1 \ @@ -26,7 +26,7 @@ stage2.stamp: stage1.stamp docker container rm cryptech-builder-stage2 touch $@ -stage3.stamp: stage2.stamp +stage3.stamp: stage2.stamp Dockerfile docker build -t cryptech-builder . touch $@ |