Skip to content

Commit 6c28b22

Browse files
committed
CircleCI singularity
1 parent 744abac commit 6c28b22

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.circleci/main.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,29 @@ commands:
9494
name: "Setting up Singularity"
9595
command: |
9696
cd singularity-<< parameters.version >>
97-
./mconfig
97+
./mconfig -p /usr/local
9898
make -C builddir
9999
sudo make -C builddir install
100100
cd ..
101101
install-singularity-requirements:
102102
steps:
103103
- run:
104104
name: "Installing Singularity requirements"
105+
# https://github.com/apptainer/apptainer/blob/release-1.1/INSTALL.md
105106
command: |
106-
sudo apt-get update && sudo apt-get install flawfinder squashfs-tools uuid-dev libuuid1 libffi-dev libssl-dev libssl1.1 libarchive-dev libgpgme11-dev libseccomp-dev -y
107+
sudo apt-get update -y && \
108+
sudo apt-get install -y \
109+
build-essential \
110+
libseccomp-dev \
111+
pkg-config \
112+
uidmap \
113+
squashfs-tools \
114+
squashfuse \
115+
fuse2fs \
116+
fuse-overlayfs \
117+
fakeroot \
118+
cryptsetup \
119+
curl wget git
107120
run-pytest-docker:
108121
steps:
109122
- create-docker-test-container:

0 commit comments

Comments
 (0)