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

Enable building arm images for every image except tensorflow-notebook #1446

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ MULTI_IMAGES:= \
base-notebook \
minimal-notebook \
r-notebook \
scipy-notebook
# Images that can only be built on the amd64 architecture (aka. x86_64)
AMD64_ONLY_IMAGES:= \
tensorflow-notebook \
scipy-notebook \
datascience-notebook \
pyspark-notebook \
all-spark-notebook
# Images that can only be built on the amd64 architecture (aka. x86_64)
AMD64_ONLY_IMAGES:= \
tensorflow-notebook
Copy link
Member Author

Choose a reason for hiding this comment

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

Tensorflow is a bit tricky because there are no official wheels for arm.
I will find some more-or-less official wheels and support tensorflow as well.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmmmm hmmmmm, if it comes to installing separate non-official packages, is it really worth the long term maintenance effort?

# All of the images
ALL_IMAGES:= \
base-notebook \
Expand Down
1 change: 1 addition & 0 deletions datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ RUN mamba install --quiet --yes \
'r-caret' \
'r-crayon' \
'r-devtools' \
'r-e1071' # dependency of the caret R package \
Copy link
Member Author

Choose a reason for hiding this comment

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

We install r-caret here and have this in r-notebook.
And, without this line, build doesn't work for arm.

I don't really want to dwell into details the cause of the problem, but it makes 100% sense to have everything for r-notebook here, especially because we tell that we do this.
https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-datascience-notebook

Copy link
Collaborator

Choose a reason for hiding this comment

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

💯 !

'r-forecast' \
'r-hexbin' \
'r-htmltools' \
Expand Down