Skip to content

Commit c1ccdb9

Browse files
committed
Added a Dockerfile that installs the whole Chimbuko stack using spack from a near bare base image
1 parent 9542688 commit c1ccdb9

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
FROM ubuntu:18.04
2+
3+
RUN mkdir -p /Downloads
4+
5+
#Setup a basic set of tools
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
RUN apt-get update && \
8+
apt-get install -y tzdata && \
9+
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
10+
dpkg-reconfigure --frontend noninteractive tzdata && \
11+
apt-get install -y build-essential wget git-core libtool libtool-bin \
12+
autoconf gfortran pkg-config \
13+
python3 python3-dev python3-pip python3-tk \
14+
psmisc iproute2 unzip vim gdb emacs-nox && \
15+
apt autoremove -y && \
16+
rm -rf /var/lib/apt/lists/*
17+
18+
#Install spack
19+
WORKDIR /spack
20+
RUN git clone https://github.com/spack/spack.git
21+
22+
SHELL ["/bin/bash", "-c"]
23+
24+
#Download Chimbuko source and Mochi source to get the repos
25+
RUN git clone https://github.com/mochi-hpc/mochi-spack-packages.git && \
26+
git clone https://github.com/CODARcode/PerformanceAnalysis.git -b ckelly_develop
27+
28+
RUN source /spack/spack/share/spack/setup-env.sh && \
29+
spack repo add PerformanceAnalysis/spack/repo/chimbuko && \
30+
spack repo add mochi-spack-packages
31+
32+
RUN source /spack/spack/share/spack/setup-env.sh && spack install chimbuko^py-setuptools-scm+toml

0 commit comments

Comments
 (0)