diff options
author | Evelina Ametova <evelina@ipecompute4.ands.kit.edu> | 2022-02-01 12:14:51 +0100 |
---|---|---|
committer | Evelina Ametova <evelina@ipecompute4.ands.kit.edu> | 2022-02-01 12:14:51 +0100 |
commit | a3f93ec6436d64f515546ceefe394a79e0552b13 (patch) | |
tree | 7010c8c7b09d07e3cfc6c5995d7b81cac0af64a1 /build/buildah-base.sh | |
parent | 4db96282d126e10c691474264fcdbeca2398555e (diff) | |
download | ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.tar.gz ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.tar.bz2 ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.tar.xz ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.zip |
Update to new ubuntu and ccpi
Diffstat (limited to 'build/buildah-base.sh')
-rw-r--r-- | build/buildah-base.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build/buildah-base.sh b/build/buildah-base.sh index b656515..319ed6b 100644 --- a/build/buildah-base.sh +++ b/build/buildah-base.sh @@ -2,7 +2,8 @@ set -o errexit -container=$(buildah from nvidia/cuda:10.1-devel-ubuntu18.04) +#container=$(buildah from nvidia/cuda:10.1-devel-ubuntu18.04) +container=$(buildah from nvidia/cuda:11.3.0-devel-ubuntu20.04) buildah config --label maintainer="Suren A. Chilingaryan <csa@suren.me>" $container buildah config --env LANG="C.UTF-8" --env LC_ALL="C.UTF-8" --env TERM="xterm" $container @@ -20,12 +21,15 @@ buildah run $container sh -c 'echo "systemd-network:x:105:" >> /etc/group' buildah run $container sh -c 'echo "systemd-network:x:105:105:systemd-network:/dev/null:/sbin/nologin" >> /etc/passwd' buildah run $container sh -c 'echo "systemd-resolve:x:106:" >> /etc/group' buildah run $container sh -c 'echo "systemd-resolve:x:106:106:systemd-resolve:/dev/null:/sbin/nologin" >> /etc/passwd' +buildah run $container sh -c 'echo "systemd-timesync:x:107:" >> /etc/group' +buildah run $container sh -c 'echo "systemd-timesync:x:107:107:systemd-timesync:/dev/null:/sbin/nologin" >> /etc/passwd' + buildah run $container sh -c 'apt-get update --fix-missing && apt-get install -y bash wget bzip2 mc ca-certificates git openssh-server' buildah run $container sh -c 'apt-get install -y python3 python3-setuptools python3-pip cython3' buildah run $container sh -c 'apt-get install -y cmake make autoconf automake libtool gcc g++ libboost-all-dev' buildah run $container sh -c 'apt-get install -y ca-certificates pkg-config gobject-introspection liblapack-dev libjpeg-dev libtiff-dev libglib2.0-dev libjson-glib-dev libopenmpi-dev libhdf5-dev libclfft-dev libgsl-dev libgirepository1.0-dev fftw3-dev zlib1g-dev' -buildah run $container sh -c 'apt-get install -y python3-dev python3-numpy python-gobject python-tifffile' +buildah run $container sh -c 'apt-get install -y python3-dev python3-numpy python-gobject tifffile' buildah run $container sh -c 'apt-get install -y ocl-icd-opencl-dev clinfo' buildah run $container sh -c 'apt-get install -y jupyter-notebook' |