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.
This commit is contained in:
Omar Padron
2018-12-20 14:11:55 -05:00
committed by Todd Gamblin
parent b90f619037
commit 56cb691fcc
5 changed files with 35 additions and 8 deletions

View File

@@ -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/*