-
Notifications
You must be signed in to change notification settings - Fork 634
Labels
bugSomething isn't workingSomething isn't working
Description
Snakemake version
9.17.1
Describe the bug
When using the new --containerize apptainer option ( #4030 ), the output apptainer.def file doesn't not build with apptainer build --fakeroot my-image.sif my-image.def because curl is missing in the base condaforge/miniforge3:latest image.
Logs
INFO: Starting build...
INFO: Fetching OCI image...
28.4MiB / 28.4MiB [=======================================================================================================================================================================================================] 100 % 18.4 MiB/s 0s
133.8MiB / 133.8MiB [=====================================================================================================================================================================================================] 100 % 18.4 MiB/s 0s
INFO: Extracting OCI image...
INFO: Inserting Singularity configuration...
INFO: Running post scriptlet
+ mkdir -p /conda-envs/253d4f8597ba7ed8e2e8cfc76a197f08
+ dirname /conda-envs/253d4f8597ba7ed8e2e8cfc76a197f08/environment.yaml
+ mkdir -p /conda-envs/253d4f8597ba7ed8e2e8cfc76a197f08
+ curl -L https://github.com/snakemake/snakemake-wrappers/raw/v9.1.1/bio/bowtie2/align/environment.yaml
/.post.script: 3: curl: not found
FATAL: While performing build: while running engine: exit status 127
Additional context
I added 2 lines at the beginning of the %post statement:
apt-get update
apt-get install -y curl
The image built correctly afterwards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working