amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
522 stars 39 forks source link

[Feature Request] - upgrade microdnf 3.10 and publish minimal image on docker hub #595

Open matejsp opened 9 months ago

matejsp commented 9 months ago

Is your feature request related to a problem? Please describe. microdnf does not support replacing curl-minimal or gnupg2-minimal with it's full counterpart. However version microdnf 3.10 supports swap command that would allow this.

Also publish docker minimal on official docker hub together with normal al2023. https://hub.docker.com/_/amazonlinux/tags

Describe the solution you'd like I would like to replace gnupg2 to full on al2023 docker minimal.

Describe alternatives you've considered what we currently use in docker as workaround:

rpm -e curl-minimal --nodeps && dnf -y install curl --setopt=install_weak_deps=0
rpm -e gnupg2-minimal --nodeps && dnf -y install gnupg2 --setopt=install_weak_deps=0
stewartsmith commented 8 months ago

Is there any reason you can't pull the minimal container image from ECR?

We do have an (internal) backlog item for publishing to DockerHub. We hadn't published it there yet as updating images on DockerHub requires humans merging pull requests and a request to not update the images more than once a week, while with ECR we can programmatically publish updates - so we decided to see what the demand was for it being available on DockerHub rather than just ECR. This is the first request we've gotten :)

matejsp commented 8 months ago

I was using AL2023 for couple of months from docker hub. Basically if you search the google for: amazonlinux docker. You get the first link to docker hub and because of that I failed to notice that you already support al2023 minimal image. So having only half deployed images there missguided me into thinking there is no minimal image. I even filled a feature request (incorrect one) here for this https://github.com/amazonlinux/amazon-linux-2023/issues/585.

Of course knowing the full direct url for docker pull I could get it without a problem.

Also all docker UI tools when searching for docker images does not return ecr registry. Like container manager on NAS (synology or qnap).

stewartsmith commented 6 days ago

For microdnf 3.10, likely coming to 2023.6.