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

Added procps to ncbi-tools-bin Dockerfile #542

Merged
merged 6 commits into from
Nov 8, 2023

Conversation

eeaunin
Copy link
Contributor

@eeaunin eeaunin commented Nov 6, 2023

Hello. The current ncbi-tools-bin BioContainers Docker image (made from
https://github.com/BioContainers/containers/blob/master/ncbi-tools-bin/6.1.20170106-6-deb/Dockerfile ) doesn't work with nf-core pipelines. The error that I get when trying to use it in an nf-core pipeline is this: Command 'ps' required by nextflow to collect task metrics cannot be found. I think this means that procps (which provides ps) needs to be installed and in path inside the image in order for the image to work with Nextflow when using the Docker profile. I am proposing adding the installation of procps to the Dockerfile

@mboudet
Copy link
Contributor

mboudet commented Nov 7, 2023

Hi. Several things:

  • You should change the docker image to 'debian-buster-backports_cv2' (newly built image, the previous one does not work anymore due to GPG key changes)
  • Please update 'version' to '2'
  • Might need to update 'software.version' to '6.1.20170106+dfsg1-0+deb10u2', as it is the currently installed version.

Might be some other things to modify, since this is an old package and the Dockerfile format might have changed since them. I'll run the tests once you have made the changes.

@eeaunin
Copy link
Contributor Author

eeaunin commented Nov 8, 2023

Hello, I made the requested changes now. I tested building the dockerfile, it works for me

@biocontainers-bot
Copy link
Collaborator

about.license field is not in spdx list: https://spdx.org/licenses/, if it is a typo error, please fix it. If this is not a standard license, please specify Custom License and use about.license_file label to specify license location (in container or url).

@biocontainers-bot
Copy link
Collaborator

No biotools label defined, please check if tool is not already defined in biotools (https://bio.tools) and add extra.identifiers.biotools label if it exists. If it is not defined, you can ignore this comment.

@biocontainers-bot
Copy link
Collaborator

No test-cmds.txt (test file) present, skipping tests

@mboudet
Copy link
Contributor

mboudet commented Nov 8, 2023

Ok. You just need to change the 'software.version' to '6.1.20170106+dfsg1-0+deb10u2', and about.license_file to 'Custom license', and I should be able to merge it.

@eeaunin
Copy link
Contributor Author

eeaunin commented Nov 8, 2023

I've done this now. Although, are you sure that about.license_file and not about.license needed to be changed to Custom license?

@mboudet
Copy link
Contributor

mboudet commented Nov 8, 2023

You're right, sorry about that, I copied the wrong key. You can set 'about.license' to 'Custom license', and keep the previous value for 'about.license_file'

@eeaunin
Copy link
Contributor Author

eeaunin commented Nov 8, 2023

I've made this change now

@biocontainers-bot
Copy link
Collaborator

software.version label not matching directory version name

@biocontainers-bot
Copy link
Collaborator

about.license field is not in spdx list: https://spdx.org/licenses/, if it is a typo error, please fix it. If this is not a standard license, please specify Custom License and use about.license_file label to specify license location (in container or url).

@biocontainers-bot
Copy link
Collaborator

No biotools label defined, please check if tool is not already defined in biotools (https://bio.tools) and add extra.identifiers.biotools label if it exists. If it is not defined, you can ignore this comment.

ncbi-tools-bin/6.1.20170106-6-deb/Dockerfile Outdated Show resolved Hide resolved
ncbi-tools-bin/6.1.20170106-6-deb/Dockerfile Outdated Show resolved Hide resolved
@mboudet
Copy link
Contributor

mboudet commented Nov 8, 2023

Sorry about that. Should be actually ok after this.

@biocontainers-bot
Copy link
Collaborator

about.license field is not in spdx list: https://spdx.org/licenses/, if it is a typo error, please fix it. If this is not a standard license, please specify Custom License and use about.license_file label to specify license location (in container or url).

@biocontainers-bot
Copy link
Collaborator

No biotools label defined, please check if tool is not already defined in biotools (https://bio.tools) and add extra.identifiers.biotools label if it exists. If it is not defined, you can ignore this comment.

@biocontainers-bot
Copy link
Collaborator

No test-cmds.txt (test file) present, skipping tests

@biocontainers-bot
Copy link
Collaborator

No biotools label defined, please check if tool is not already defined in biotools (https://bio.tools) and add extra.identifiers.biotools label if it exists. If it is not defined, you can ignore this comment.

@biocontainers-bot
Copy link
Collaborator

No test-cmds.txt (test file) present, skipping tests

@mboudet mboudet merged commit 032ce1b into BioContainers:master Nov 8, 2023
1 check passed
@mboudet
Copy link
Contributor

mboudet commented Nov 8, 2023

Merging, thanks for your patience.

@eeaunin
Copy link
Contributor Author

eeaunin commented Nov 8, 2023

Thanks a lot!

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

Successfully merging this pull request may close these issues.

3 participants