Is there a maintained nextflow/nf-core development...
# nostupidquestions
n
Is there a maintained nextflow/nf-core development docker container available? I’m struggling to remember how I got the right versions of the jvm, gradle, nextflow, nf-core, etc working properly
p
We dropped the one that we had previously for GitPod in favour of Devcontainers: https://github.com/nf-core/tools/blob/main/.devcontainer/build-devcontainer/Dockerfile
n
Great, thanks! Is there a prebuilt image somewhere? I don’t have root access and it doesn’t look like devcontainers-cli can be installed without that or used with singularity (AFAIK from first attempts and perusing the docs)
p
Just had a look around, looks like it ends up here: https://hub.docker.com/r/nfcore/devcontainer
I'm not entirely sure how well it'll work outside of a devcontainer environment 🤔 But worth a try! Let me know how you get on with it!
n
oh thank you! I couldn’t find it in the mcr or gcr.io, I should have checked dockerhub 🤦
p
No worries! If there's no prefix then docker generally defaults to dockerhub 👍🏻
n
It looks like the dockerhub nfcore/devcontainer isn’t mean to be used outside of a devcontainer env as you suspected. None of the installed tools are in the PATH, the folders where some tools were installed have permissions set to make them inaccessible.
sad cowboy 1
p
what do you need this for? is it something special or just general local dev work?
I mean,
conda install nextflow nf-core
should work in most cases I think 🤔
n
I will try to reproduce the issue I’m running into, and yes definitely interested in trying a wave container solution! I was trying to test a plugin I wrote on a second HPC and kept getting errors about mismatched java/nextflow/gradle versions. So I was hoping to find a batteries included container to bypass the installation problems.
Thanks for the tips!
p
np, good luck!
For java issues, I highly recommend using SDKMAN as described in the docs if at all possible.
It solves people's issues 99% of the time
n
I did use it to install java 17~, I think I was getting some issue where gradle (or nf?) wanted java 25 so I bumped up the version of java with sdk,~ then started getting this mystery error
Copy code
/home/watersn/.sdkman/libexec/help: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/watersn/.sdkman/libexec/help)
which I think is cause this cluster is running RH centos 7. (edit: updated nf not sdk, unrelated)