summaryrefslogtreecommitdiff
path: root/share/spack/docker/build/scilinux.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/docker/build/scilinux.dockerfile')
-rw-r--r--share/spack/docker/build/scilinux.dockerfile62
1 files changed, 0 insertions, 62 deletions
diff --git a/share/spack/docker/build/scilinux.dockerfile b/share/spack/docker/build/scilinux.dockerfile
deleted file mode 100644
index 3827f5f60e..0000000000
--- a/share/spack/docker/build/scilinux.dockerfile
+++ /dev/null
@@ -1,62 +0,0 @@
-FROM sl:7
-MAINTAINER Patrick Gartung (gartung@fnal.gov)
-
-ENV SPACK_ROOT=/spack \
- FORCE_UNSAFE_CONFIGURE=1 \
- DISTRO=rhel7 \
- container=docker
-
-RUN yum update -y && \
- yum install -y yum-conf-repos.noarch && \
- yum update -y && \
- yum -y install epel-release && \
- yum update -y && \
- yum --enablerepo epel \
- groupinstall -y "Development Tools" && \
- yum --enablerepo epel \
- install -y \
- curl \
- findutils \
- gcc-c++ \
- gcc \
- gcc-gfortran \
- git \
- gnupg2 \
- hostname \
- iproute \
- Lmod \
- make \
- patch \
- openssh-server \
- python \
- tcl
-RUN git clone --depth=1 git://github.com/spack/spack.git /spack && \
- rm -rf /var/cache/yum /spack/.git && yum clean all
-
-RUN echo "source /usr/share/lmod/lmod/init/bash" \
- > /etc/profile.d/spack.sh
-RUN echo "source /spack/share/spack/setup-env.sh" \
- >> /etc/profile.d/spack.sh
-RUN echo "source /spack/share/spack/spack-completion.bash" \
- >> /etc/profile.d/spack.sh
-COPY common/handle-ssh.sh /etc/profile.d/handle-ssh.sh
-COPY common/handle-prompt.sh /etc/profile.d/handle-prompt.sh.source
-
-RUN ( \
- echo "export DISTRO=$DISTRO" ; \
- echo "if [ x\$PROMPT '!=' 'x' -a x\$PROMPT '!=' 'x0' ]" ; \
- echo "then" ; \
- echo "source /etc/profile.d/handle-prompt.sh.source" ; \
- echo "fi" ; \
-) > /etc/profile.d/handle-prompt.sh
-
-RUN mkdir -p /root/.spack
-COPY common/modules.yaml /root/.spack/modules.yaml
-
-RUN rm -f /run/nologin
-
-RUN rm -rf /root/*.*
-
-WORKDIR /root
-ENTRYPOINT ["bash"]
-CMD ["-l"]