docker-nginx icon indicating copy to clipboard operation
docker-nginx copied to clipboard

Provide riscv64 build.

Open GamePlayer-8 opened this issue 7 months ago • 3 comments

Feature Overview

Hello,

I'm running multiple machines on the top of riscv64 architecture. Currently Docker Hub isn't serving riscv64 build of nginx.

Would there be a possibly to add support on that architecture?

Alternatives Considered

No response

Additional Context

No response

GamePlayer-8 avatar Jun 11 '25 15:06 GamePlayer-8

I think all of the Alpine-based images do have riscv64 builds (https://github.com/nginx/docker-nginx/pull/898). I would guess that once Debian Trixie is released and the Debian-based Nginx images are built on top of it, they will also have a riscv64 build. Before Debian Trixie there isn't a stable release of Debian with riscv64 as a "release architecture". Trixie should be released "soon", but that could still be months away.

yosifkit avatar Jun 11 '25 18:06 yosifkit

And something to note as well: we don't have a CI system in place to check if the docker image, or our packages in general, will build on riscv64. Granted, we don't have that for most of the architectures supported by the docker image - at least not directly until the dockerfiles are promoted to the docker library... It might be worth exploring expanding at least this repo CI/CD process to check things on non-mainstream ~operating systems~ architectures.

thresheek avatar Jun 11 '25 19:06 thresheek

Hey, now riscv64 images are available for Debian-based mainline builds as well, and the latest tag should work.

thresheek avatar Oct 16 '25 00:10 thresheek