-
Notifications
You must be signed in to change notification settings - Fork 396
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
Support linux/arm64/v8
for most Ubuntu-based images (part 2)
#1630
base: main
Are you sure you want to change the base?
Conversation
ENV CROSS_SYSROOT=/usr/aarch64-linux-gnu | ||
|
||
COPY apt-cross-essential.sh / | ||
RUN TARGET_ARCH=arm64 TARGET_TRIPLE=aarch64-linux-gnu /apt-cross-essential.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, looking at this again makes me suspicious of this approach, it makes it harder to debug with a glance whats extra in the image. Id prefer it if the script was removed or if the wanted packages were explicitly passed as arguments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted these changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there will be some problems with this, due to what was mentioned here
looks good, can you rebase the changes such that there's no merge commit? |
/ci try |
This comment has been minimized.
This comment has been minimized.
need to test with --platform arm64/v8 also |
Hey thanks for doing this! Things have been crazy where I live so I've been short on time ❤️ |
Do you want me to change |
cc80331
to
9b8b766
Compare
9b8b766
to
a581024
Compare
rebased the branch to remove merge commit from this PR. |
If you think you can do it in this pr, feel free to do so. Take care of the comments i left in the previous pr about some ways to make it work. |
@Emilgardis I caught up the discussion on the previous PR, and tried to change to enable to publish arm64 images, but it was harder than I expected. So, I'd like to merge this PR first, and then submit another PR. Could you review my change again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to try building some images myself, but overall it looks fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is not used anymore, i think however it would be worth to incorporate the command checking it does since the previous pr mentioned it was needed to avoid issues with gfortran
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what kind of issues with gfortran the previous pr were referring to. But it looks all Dockerfiles have apt install gfortran-${TARGET_TRIPLE}
. Is there anything else that should be done? Otherwise, I'll just remove this file from the pr.
This is a follow-up to #1597. Docker images for Arm64-based PCs has been added.