From 56cb691fccb8d6ecdb583c1279f4ee57e9512884 Mon Sep 17 00:00:00 2001 From: Omar Padron Date: Thu, 20 Dec 2018 14:11:55 -0500 Subject: 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. --- .dockerignore | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to '.dockerignore') 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/* + -- cgit v1.2.3-70-g09d2