Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update base image to stretch or buster #9

Open
nathanweeks opened this issue Jul 22, 2019 · 7 comments
Open

Update base image to stretch or buster #9

nathanweeks opened this issue Jul 22, 2019 · 7 comments

Comments

@nathanweeks
Copy link

Would it be non-disruptive to use a newer base image? GNU coreutils df (which is used internally by some bioinformatics utilities, such as MAKER) from Debian jessie is not aware of mount namespaces; rather, it appears hardcoded to derive mount info from /etc/mtab---which isn't created when a biocontainers image is run under Singularity. Consequently, df fails:

$ singularity exec --containall --cleanenv  docker://bitnami/minideb:jessie df
df: cannot read table of mounted file systems: No such file or directory
$ singularity exec --bind /usr/bin/strace --containall --cleanenv docker://bitnami/minideb:jessie strace df 2>&1 | grep '^open'
...
open("/etc/mtab", O_RDONLY|O_CLOEXEC)   = -1 ENOENT (No such file or directory)

df versions from stretch and buster are aware of mount namespaces, and instead read /proc/self/mounts:

$ singularity exec --containall --cleanenv docker://bitnami/minideb:buster df
Filesystem                  1K-blocks    Used Available Use% Mounted on
overlay                         16384      12     16372   1% /
...
@bgruening
Copy link
Member

I think this should be fine. Can you create a PR for this please?

@nathanweeks
Copy link
Author

Will do!

@epruesse
Copy link
Member

epruesse commented Sep 6, 2019

How would this impact backwards compatibility with older Linux installations? There are all those clusters that never get updated and still run CentOS 6 ...

@bgruening
Copy link
Member

This is only for testing, it's not the build container @epruesse.

@nathanweeks
Copy link
Author

nathanweeks commented Sep 6, 2019

@nathanweeks
Copy link
Author

I've noticed that recent Biocontainers images claim a newer os-release:

$ singularity exec csvtk:0.22.0--h9ee0642_1 grep PRETTY_NAME /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"

Are Biocontainers images now built from https://github.com/bioconda/bioconda-containers ? Is this image / repo no longer relevant?

@dpryan79
Copy link

dpryan79 commented May 1, 2021

I think this was replaced recently. Can you confirm @mbargull ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants