-
Notifications
You must be signed in to change notification settings - Fork 232
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
Amazon 2022 images fail to build due to conflict between curl packages #396
Comments
I believe that this is caused by this code. This issue will require a patch to fix. We ran into this a few months back with Centos Stream, and added it as a new type of platform. It's a bit hacky, but you may be able to override the platform detection with |
I can probably send in a patch, but I don't want to perpetuate the hack. Is there a way you'd like to see it done? |
So the platform hack worked, but I get an error that a temp .sh file is not in the image (I confirmed this was correct by hoping in the running container). Related to the hack?
|
I've got a couple ideas, but my gut says that the least amount of code involves embedding a little bit of shell script logic into the
Are you experiencing #387? If so, the best workaround for that is to use SSH as your transport. |
Probably? But it only seems to affect Amazon 2022, weirdly enough. I've tested across a slew of other distributions (Debian, Ubuntu, CentOS, even Amazon Linux 2) and everything runs. Anyway, will switch transports. EDIT: Running with ssh just leaves kitchen hanging waiting for the SSH service on the container. |
Any chance you're using x86_64 on M1 and experiencing docker/for-mac#6273? Edit: I suspect it's actually the same cause as #395 |
🗣️ Foreword
Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.
👻 Brief Description
When running tests against the official
amazonlinux:2022
image, the tests fail during the initial construction of the test image due to a conflict betweencurl
being installed whencurl-minimal
is already baked into the official image.Version
3.3.2
2.13.0
0.56.0
Environment
ARM Mac, Docker Desktop 4.11.1
Scenario
Trying to run serverspec tests for my ansible role against Amazon Linux images.
Steps to Reproduce
DOCKER_BUILDKIT=1 bundle exec kitchen create <test-suite>
Expected Result
Amazon 2022 images should be provisioned.
Actual Result
The text was updated successfully, but these errors were encountered: