Build-from-Source Flavors

These images are compiled directly from the OpenResty source code, along with its dependencies like OpenSSL and PCRE2. They are intended for advanced users who require deep customization of the build process.

Using these flavors allows you to:

  • Add third-party Nginx modules at compile time.
  • Apply custom patches to OpenResty or its dependencies.
  • Change the ./configure options to enable or disable specific features.

See the Building from Source guide for details on how to customize these images.

Flavor Base OS Dockerfile Link
alpine Alpine Linux alpine/Dockerfile
bionic Ubuntu 18.04 LTS bionic/Dockerfile
focal Ubuntu 20.04 LTS focal/Dockerfile
jammy Ubuntu 22.04 LTS jammy/Dockerfile
noble Ubuntu 24.04 LTS noble/Dockerfile