Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dockerfile: Repeat apt-get several times until it succeeds #579

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Feb 5, 2025

Last-ditch effort to work-around issues with docker image builds.

Recently installing python packages fail for some random reasons, so
try the action several times. It is not a fix, but a workaround,
unfortunately.
@krnowak krnowak marked this pull request as ready for review February 5, 2025 14:29
@krnowak krnowak requested a review from a team February 5, 2025 14:29
@krnowak krnowak changed the title repeat apt-get several times until it succeeds Dockerfile: Repeat apt-get several times until it succeeds Feb 5, 2025
Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

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

This is really ugly but this can unblock the CI. Can you open an issue on Flatcar repository to track the investigation on this and the elements you found?
Let's try to not keep this fragile things forever (and this can lead to upstream contribution I think).

@krnowak
Copy link
Member Author

krnowak commented Feb 5, 2025

Filed an issue here: flatcar/Flatcar#1634

@krnowak krnowak merged commit 44f7581 into flatcar-master Feb 5, 2025
2 checks passed
@krnowak krnowak deleted the krnowak/loop-apt branch February 5, 2025 16:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants