Skip to content

Commit

Permalink
remove non deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jbigot committed Aug 31, 2024
1 parent 23160b4 commit 0786e0f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 9 deletions.
6 changes: 0 additions & 6 deletions spack/3a-precomp/baselibs.lst
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
cmake
curl
doxygen
m4
openssl +shared certs=mozilla
pkgconf
py-numpy
py-pip
py-pyyaml ~libyaml
python
zlib
1 change: 0 additions & 1 deletion spack/6-optlibs/optlibs.lst
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
hdf5
libyaml
netcdf-c
paraconf
py-pybind11
Expand Down
42 changes: 40 additions & 2 deletions spack/7-finalize/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,46 @@ ENV HOME=/home/ci

FROM main AS test

RUN curl --output pdi.tar.bz2 https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/builderv3/pdi.tar.bz2
RUN tar -xf pdi.tar.bz2

USER root:root
WORKDIR /root
ENV HOME=/root

RUN set -ex \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& apt-get autoclean -y

USER ci:ci
WORKDIR /home/ci
ENV HOME=/home/ci

RUN curl --output pdi.tar.gz https://github.com/pdidev/pdi/archive/refs/heads/main.gz


USER root:root
WORKDIR /root
ENV HOME=/root

RUN set -ex \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get purge -y \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/*

USER ci:ci
WORKDIR /home/ci
ENV HOME=/home/ci


RUN tar -xf pdi.tar.gz
RUN export VERBOSE=1 \
&& bash pdi*/tools/build_scripts/build_and_run.sh

Expand Down

0 comments on commit 0786e0f

Please sign in to comment.