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

[WIP] Add Freesurfer container #23

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

arnaudbore
Copy link
Contributor

No description provided.

Copy link
Collaborator

@AlexVCaron AlexVCaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty much everything is there ! Once the comments are fixed, it should be good. You don't need scilpy from what I see ?

docker-bake.hcl Outdated
@@ -116,6 +116,10 @@ variable "SCILUS_TAG" {
variable "FLOWS_TAG" {
}

variable "FS_VERSION" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
variable "FS_VERSION" {
variable "freesurfer-version" {

Also move the variable definition higher, with the other dependencies (names are lowercase)

ARG FREESURFER_VERSION

# shell settings
WORKDIR /root
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
WORKDIR /root
WORKDIR /

docker-bake.hcl Outdated
target = "freesurfer-install"
contexts = {
freesurfer-base = "docker-image://${base-install-image}"
freesurfer-builder = "docker-image://${base-build-image}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove, you don't have a build stage

docker-bake.hcl Outdated
freesurfer-builder = "docker-image://${base-build-image}"
}
args = {
FREESURFER_VERSION = "${fs-version}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FREESURFER_VERSION = "${fs-version}"
FREESURFER_VERSION = "${freesurfer-version}"

docker-bake.hcl Outdated
"type=registry,ref=${dockerhub-user-pull}/build-cache:scilus-deps",
"type=registry,ref=scilus/build-cache:scilus-deps"
]
tags = notequal("", DEPS_TAG) ? stamp_tag("scilus/scilus-deps:${DEPS_TAG}", timestamp()) : []
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tags = notequal("", DEPS_TAG) ? stamp_tag("scilus/scilus-deps:${DEPS_TAG}", timestamp()) : []
tags = notequal("", DEPS_TAG) ? stamp_tag("scilus/scilus-freesurfer:${DEPS_TAG}", timestamp()) : []

let's put this in a separate dockerhub repository.

ENV MNI_PERL5LIB /usr/local/freesurfer/mni/share/perl5
ENV PERL5LIB /usr/local/freesurfer/mni/share/perl5

ENV FS_LICENSE='/license.txt'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the version to the common VERSIONS file, like the other dockerfiles.

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.

None yet

2 participants