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

Container has outdated nobrainer version #273

Closed
araikes opened this issue Feb 14, 2024 · 2 comments · Fixed by #275
Closed

Container has outdated nobrainer version #273

araikes opened this issue Feb 14, 2024 · 2 comments · Fixed by #275
Assignees
Labels

Comments

@araikes
Copy link

araikes commented Feb 14, 2024

Per call with @hvgazula, the current versions of the Docker containers (tags: latest, 1.1.1) report nobrainer version 0+unknown.

@araikes araikes added the bug label Feb 14, 2024
@hvgazula hvgazula self-assigned this Feb 14, 2024
@araikes
Copy link
Author

araikes commented Feb 14, 2024

I tried rebuilding this myself and get the following (using the Dockerfiles provided):

scanlab@hyperion:/data/templates/docker_builds/nobrainer$ docker build -t araikes/nobrainer:1.1.1 -f docker/cpu.Dockerfile .
Sending build context to Docker daemon    684kB
Step 1/11 : FROM tensorflow/tensorflow:2.14.0-jupyter
 ---> b61dfcf9b9f8
Step 2/11 : RUN curl -sSL http://neuro.debian.net/lists/focal.us-nh.full | tee /etc/apt/sources.list.d/neurodebian.sources.list   && export GNUPGHOME="$(mktemp -d)"   && echo "disable-ipv6" >> ${GNUPGHOME}/dirmngr.conf   && (apt-key adv --homedir $GNUPGHOME --recv-keys --keyserver hkp://pgpkeys.eu 0xA5D32F012649A5A9   || { curl -sSL http://neuro.debian.net/_static/neuro.debian.net.asc | apt-key add -; } )   && apt-get update   && apt-get install -y git-annex-standalone git   && rm -rf /tmp/*
 ---> Running in 54b2c1bff831
curl: (6) getaddrinfo() thread failed to start
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.xT4FGTKUeD/gpg.1.sh --homedir /tmp/tmp.G6AKSJvb5a --recv-keys --keyserver hkp://pgpkeys.eu 0xA5D32F012649A5A9
gpg: connecting dirmngr at '/tmp/tmp.G6AKSJvb5a/S.dirmngr' failed: End of file
gpg: keyserver receive failed: No dirmngr
W: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '' executing apt-key.
curl: (6) getaddrinfo() thread failed to start
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
W: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '' executing apt-key.
The command '/bin/sh -c curl -sSL http://neuro.debian.net/lists/focal.us-nh.full | tee /etc/apt/sources.list.d/neurodebian.sources.list   && export GNUPGHOME="$(mktemp -d)"   && echo "disable-ipv6" >> ${GNUPGHOME}/dirmngr.conf   && (apt-key adv --homedir $GNUPGHOME --recv-keys --keyserver hkp://pgpkeys.eu 0xA5D32F012649A5A9   || { curl -sSL http://neuro.debian.net/_static/neuro.debian.net.asc | apt-key add -; } )   && apt-get update   && apt-get install -y git-annex-standalone git   && rm -rf /tmp/*' returned a non-zero code: 2

@araikes
Copy link
Author

araikes commented Feb 14, 2024

Was able to build a version for Singularity using the current 1.1.1 tag as the bootstrap and simply pip installing the current state of the repo.

It now reports (for my version):

>>> nobrainer.__version__
'1.1.1+1.gba7f7e4'

@hvgazula hvgazula linked a pull request Feb 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants