-
-
Notifications
You must be signed in to change notification settings - Fork 660
make sure _prereq etc are installed in the docker images #40708
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
Conversation
Codewise looks good to me. If you have the time, could you please apply the following patch, then those changes are automatically tested on github: --- a/.github/workflows/push_to_docker_hub.yml
+++ b/.github/workflows/push_to_docker_hub.yml
@@ -1,10 +1,12 @@
name: Build Docker images and push to DockerHub
on:
+ pull_request:
+ paths:
+ - '.github/workflows/push_to_docker_hub.yml'
+ - 'docker/Dockerfile'
workflow_dispatch:
# Allow to run manually
- branches:
- - 'develop'
push:
tags:
# Match all release tags including beta, rc |
@tobiasdiez - you can just push to the PR branch in my repo |
I already started a run in my Repo: https://github.com/soehms/sage/actions/runs/17286731555. It gave:
|
Documentation preview for this PR (built with commit f752004; changes) is ready! 🎉 |
In the current log-file I see the same error-message that I've obeserved in this sage-devel thread. This has been fixed for a while and now shows up again. BTW: This can also be seen in the log-file posted in #40708 (comment). |
apparently we need to clean the line break $ ./build/bin/sage-get-system-packages debian _bootstrap _prereq autoconf automake libtool binutils make m4 perl flex python3 tar bc gcc libbz2-dev bzip2 g++ ca-certificates patch pkg-config libz-dev
sorry, it must be shell silliness (I don't have docker on a real machine to try out, so I need to see what CI says, just as in my undergrad years with punchcards jobs submitted to (a Soviet ripoff of) IBM-370 😄 ) |
in the podman output, running
And this is because this |
I'll see if I can use docker's |
after wasting hours trying to figure out Docker's COPY, ADD, and RUN, I gave up and added missing deps directly. |
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.
Docker CI still fails, but I think that's because the last beta didn't built an image.
Thank you for your effort. Perhaps we should try replacing the |
I suspect it's because Dima's repository doesn't have a suitable token for logging into DockerHub. The first job couldn't push the image needed by the second job. I started another run from my repository, which should allow the login. |
it's very confusing - why does one need to do here anything with sage's repo forks (e.g. mine of @soehms )? |
I think this is because the workflow is inheriting credentials from the fork, since that's where the branch is located. However, we now have the Docker image on DockerHub: |
This is a follow-up to #40460
Docker images need to get _prereqs installed, as noticed in #40460 (comment)
📝 Checklist
⌛ Dependencies