aboutsummaryrefslogtreecommitdiff
path: root/stage2/Dockerfile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-02-13 20:57:24 +0000
committerRob Austein <sra@hactrn.net>2019-02-13 20:57:24 +0000
commit0ca9d2581042b11ff2fb04e9095f033a6edf74a2 (patch)
tree63825da1764954e3bb070ab9c969800aaba8e157 /stage2/Dockerfile
parent48e70b200759f51b8470f67146d35688c18ead3b (diff)
Clean up image names. Integrate license management script.
Diffstat (limited to 'stage2/Dockerfile')
-rw-r--r--stage2/Dockerfile11
1 files changed, 7 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