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

Newer linux distros do not include the multiarch-support package anymore #32

Open
JohannesWiesner opened this issue Mar 2, 2023 · 0 comments

Comments

@JohannesWiesner
Copy link
Owner

JohannesWiesner commented Mar 2, 2023

We would like to switch to a more recent base image, but recent Linux distros do not include the multi arch-support package any longer. The error can be reproduced with:

generate_docker() {
    docker run -i --rm repronim/neurodocker:0.9.4 generate docker \
        --base-image ubuntu:22.04 \
        --pkg-manager apt \
        --install opts="--quiet" \
            gcc \
            g++ \
            octave \
        --spm12 version=r7771 \
        --freesurfer version=7.1.1 \
        --copy $conda_yml_file /tmp/ \
        --miniconda \
            version=latest \
            yaml_file=/tmp/$conda_yml_file \
            env_name=csp \
        --run 'mkdir /code && chmod 777 /code && chmod a+s /code' \
        --run 'mkdir /data && chmod 777 /data && chmod a+s /data' \
        --run 'mkdir /output && chmod 777 /output && chmod a+s /output' \
        --run 'mkdir ~root/.jupyter' \
        --run 'echo c.NotebookApp.ip = \"0.0.0.0\" > ~root/.jupyter/jupyter_notebook_config.py' \
        --run 'echo c.NotebookApp.allow_root=True >> ~root/.jupyter/jupyter_notebook_config.py' \
        --run 'echo source activate csp >> ~root/.bashrc' \
        --workdir '/code'
}

I systematically tried with less and less recent versions of neurodebian. Fails with:

1.) neurodebian:bookworm
2.) neurodebian:bullseye

From neurodebian:buster on the error disappears which is documented here: https://packages.debian.org/search?lang=en&keywords=multiarch-support. However with buster we get:

No Java Runtime Environment(JRE) was found on this system.

when downloading the MATLAB-Compiler.

This issue is basically a duplicate of:

ReproNim/neurodocker#419

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

No branches or pull requests

1 participant