summaryrefslogtreecommitdiff
path: root/.dockerignore
diff options
context:
space:
mode:
authorOmar Padron <omar.padron@kitware.com>2018-12-20 14:11:55 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2018-12-20 11:11:55 -0800
commit56cb691fccb8d6ecdb583c1279f4ee57e9512884 (patch)
treeccc84163dc6bf2e603a2a90f0b574d8a00b89d16 /.dockerignore
parentb90f6190376a00384192331c3d02e84ad40633e5 (diff)
downloadspack-56cb691fccb8d6ecdb583c1279f4ee57e9512884.tar.gz
spack-56cb691fccb8d6ecdb583c1279f4ee57e9512884.tar.bz2
spack-56cb691fccb8d6ecdb583c1279f4ee57e9512884.tar.xz
spack-56cb691fccb8d6ecdb583c1279f4ee57e9512884.zip
fix multiple issues with the docker images (#9718)
- fixed an issue where some undesirable parts of the spack source tree were being copied into the image context. - added a workaround for a tty ioctl warning on ubuntu - adjusted how the main images are built so that `RUN spack ...` works automatically for child images that base themselves on them.
Diffstat (limited to '.dockerignore')
-rw-r--r--.dockerignore17
1 files changed, 11 insertions, 6 deletions
diff --git a/.dockerignore b/.dockerignore
index 7dc5a44b2e..f836955e30 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,6 +1,11 @@
-.git
-opt/spack
-share/spack/docker/Dockerfile
-share/spack/docker/build-image.sh
-share/spack/docker/run-image.sh
-share/spack/docker/push-image.sh
+.git/*
+opt/spack/*
+
+/etc/spack/*
+!/etc/spack/defaults
+
+share/spack/dotkit/*
+share/spack/lmod/*
+share/spack/modules/*
+lib/spack/spack/test/*
+