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

[ENH] add templates bids_validator #586

Merged
merged 4 commits into from
Nov 12, 2023
Merged

Conversation

Remi-Gau
Copy link
Collaborator

@Remi-Gau Remi-Gau commented Nov 9, 2023

closes #565

could build an image with a dockerfile generated with the following

neurodocker generate docker --pkg-manager apt --base-image ubuntu:jammy-20221130 --bids_validator version=1.13

@Remi-Gau
Copy link
Collaborator Author

Remi-Gau commented Nov 9, 2023

not tested with "yum" images

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

see 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!

@Remi-Gau
Copy link
Collaborator Author

pinging @lamoglia who inspired me to finally open this PR (also because once this is part of neurodocker this will simplify the recipe for several BIDS app, including the base_validator image).

@kaczmarj
Copy link
Collaborator

this is a great addition! one suggestion is that the base image could have nodejs and npm installed. could we check if npm exists before installing node? if npm already exists, we can use the existing installation to install the bids validator.

@Remi-Gau
Copy link
Collaborator Author

this is a great addition! one suggestion is that the base image could have nodejs and npm installed. could we check if npm exists before installing node? if npm already exists, we can use the existing installation to install the bids validator.

just to understand, why would you want to check this?

to avoid wasting build time or to avoid conflicting node / npm versions?

AFAIK the typical base image we use ubuntu, debian, fefora do not have node installed, right?

@kaczmarj
Copy link
Collaborator

kaczmarj commented Nov 10, 2023 via email

@Remi-Gau
Copy link
Collaborator Author

this is a great addition! one suggestion is that the base image could have nodejs and npm installed. could we check if npm exists before installing node? if npm already exists, we can use the existing installation to install the bids validator.

Done

@kaczmarj
Copy link
Collaborator

thanks @Remi-Gau :) merge at will!

@Remi-Gau Remi-Gau merged commit 8f15076 into ReproNim:master Nov 12, 2023
15 checks passed
@Remi-Gau Remi-Gau deleted the bids_validator branch November 12, 2023 15:23
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.

add install of bids validator
2 participants