aboutsummaryrefslogtreecommitdiff
path: root/stage2
diff options
context:
space:
mode:
Diffstat (limited to 'stage2')
-rw-r--r--stage2/Dockerfile11
-rwxr-xr-xstage2/builder6
-rw-r--r--stage2/finish.pngbin640 -> 0 bytes
3 files changed, 13 insertions, 4 deletions
diff --git a/stage2/Dockerfile b/stage2/Dockerfile
index 6b1c170..f9fc768 100644
--- a/stage2/Dockerfile
+++ b/stage2/Dockerfile
@@ -1,4 +1,4 @@
-FROM xilinx:loaded
+FROM cryptech-builder:stage1
RUN ln -sf /bin/bash /bin/sh
@@ -8,7 +8,10 @@ RUN apt-get update && apt-get install -y \
python-xvfbwrapper \
ratpoison
-COPY installer /xilinx-unpack/
+COPY builder installer licenser /xilinx-unpack/
-#RUN /xilinx-unpack/installer
-#RUN rm -rf /xilinx-unpack
+# For the moment we're licensing as root. Probably need to change
+# that since building as root is a really bad idea. License file goes
+# in home directory of user who will be running the builds.
+
+COPY Xilinx.lic /root
diff --git a/stage2/builder b/stage2/builder
new file mode 100755
index 0000000..ac3432b
--- /dev/null
+++ b/stage2/builder
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -ex
+cd /xilinx-unpack
+./installer
+./licenser
diff --git a/stage2/finish.png b/stage2/finish.png
deleted file mode 100644
index 4129820..0000000
--- a/stage2/finish.png
+++ /dev/null
Binary files differ