amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

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

Open matejsp opened this issue 1 year ago • 3 comments

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

matejsp avatar Jan 01 '24 08:01 matejsp

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 :)

stewartsmith avatar Jan 11 '24 16:01 stewartsmith

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).

matejsp avatar Jan 11 '24 16:01 matejsp

For microdnf 3.10, likely coming to 2023.6.

stewartsmith avatar Sep 26 '24 18:09 stewartsmith

As per https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.6.20241010.html the microdnf in AL2023 is 3.10.

I'll point to https://github.com/amazonlinux/amazon-linux-2023/issues/724 for tracking discrepancies between dockerhub and ecr.

stewartsmith avatar Oct 19 '24 18:10 stewartsmith