openresty / docker-openresty

Docker tooling for OpenResty
https://hub.docker.com/r/openresty/openresty
BSD 2-Clause "Simplified" License
935 stars 525 forks source link

Add Debian 12 `bookworm` release #232

Closed rwlodarczyk-xealth closed 9 months ago

rwlodarczyk-xealth commented 1 year ago

Since Debian 12 bookworm was released on 2023-06-10, please release an updated version for this new Debian release.

neomantra commented 1 year ago

As one of the unwritten policies of this image is to track Debian stable, I'll add it to the build-from-source images... assuming there are no major issues with building it there.

neomantra commented 1 year ago

I forgot that we only follow build-from-upstream for Debian. The build-from-source is for Ubuntu. I just added some notes to the README to clarify this.

You can build your own image by cloning this and running:

docker build --build-arg RESTY_IMAGE_BASE=debian --build-arg RESTY_IMAGE_TAG=bookworm -f jammy/Dockerfile .

I haven't tested that. Given it is pretty straight-forward (versus managing another set of Dockerfiles), I might consider adding it to the CI/CD. I need to think of a naming convention to differentiate it.

rwlodarczyk-xealth commented 1 year ago

Related: https://github.com/openresty/openresty/issues/901

golgote commented 11 months ago

Are you going to add Debian 12 Bookworm here: https://openresty.org/en/linux-packages.html#debian ? I mostly need to be able to easily install the dependencies like:

apt-get -y install openresty-zlib openresty-zlib-dev openresty-pcre openresty-pcre-dev

Thanks

neomantra commented 11 months ago

Hmmm... I was wanting to keep Debian as build-from-upstream, but they still haven't added it. I'm not involved with that.

I could make another image flavor, bullseye-src... downside is deviation from policy and more flavors to support.

I have the build command above, for self-service, which uses the jammy Dockerfile.

neomantra commented 9 months ago

Upstream bookworm flavor released in 1.21.4.3-1.

rwlodarczyk-xealth commented 8 months ago

See #242