You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used to support more build flavors but have trimmed that down. Older Dockerfiles are archived in the [`archive`](https://github.com/openresty/docker-openresty/tree/master/archive) folder.
33
34
@@ -38,11 +39,22 @@ The following are the available build-time options. They can be set using the `-
The `restyrepo` flavor is different from the other source builds: it clones `RESTY_SOURCE_REPO`, checks out `RESTY_VERSION` as a branch or tag, runs the OpenResty source repository's `make` target to generate an OpenResty source tarball, and then builds from that tarball. Use it when you need to test an OpenResty source branch or fork before it is published as a release tarball or upstream package:
| RESTY_IMAGE_BASE | "ubuntu" / "alpine" | The Debian or Alpine Docker image base to build `FROM`. |
44
-
| RESTY_IMAGE_TAG | "noble" / "3.22.3" | The Debian or Alpine Docker image tag to build `FROM`. |
45
-
| RESTY_VERSION | 1.27.1.2 | The version of OpenResty to use. |
54
+
| RESTY_IMAGE_BASE | "ubuntu" / "alpine" / "debian" for `restyrepo`| The Ubuntu, Alpine, or Debian Docker image base to build `FROM`. |
55
+
| RESTY_IMAGE_TAG | "noble" / "3.22.3" / "trixie-slim" for `restyrepo`| The Ubuntu, Alpine, or Debian Docker image tag to build `FROM`. |
56
+
| RESTY_VERSION | 1.27.1.2 / v1.31.1.1 for `restyrepo`| The version of OpenResty to use. For `restyrepo`, this is the branch or tag checked out from `RESTY_SOURCE_REPO` and should include the full ref name, such as `v1.31.1.1`. |
57
+
| RESTY_SOURCE_REPO | "https://github.com/openresty/openresty.git"| The OpenResty source repository to clone. Used by `restyrepo`. |
46
58
| RESTY_LUAROCKS_VERSION | 3.13.0 | The version of LuaRocks to use. |
47
59
| RESTY_OPENSSL_VERSION | 3.5.7 | The version of OpenSSL to use. |
48
60
| RESTY_OPENSSL_PATCH_VERSION | 3.5.5 | The version of OpenSSL to use when patching. |
@@ -238,4 +250,3 @@ End-To-End Tests
238
250
================
239
251
240
252
The script [`./tests/e2e/run-test.sh`](./tests/e2e/run-test.sh) will stand up two local container registries and attempt to build all the images.
There are also specific tags for [Debug](https://openresty.org/en/deb-packages.html#openresty-debug) and [Valgrind](https://openresty.org/en/deb-packages.html#openresty-valgrind) OpenResty variants:
62
64
| Image | Description |
@@ -117,6 +119,7 @@ The following "flavors" are built from source and are intended for more advanced
The `openresty/openresty:latest` tag points to the latest `bookworm` image.
122
125
@@ -130,6 +133,8 @@ OpenResty supports SSE 4.2 optimizations. Starting with the `1.19.3.1` series,
130
133
131
134
It is *highly recommended* that you use the upstream-based images for best support. For best stability, pin your images to the full tag, for example `1.21.4.1-0-bionic`.
132
135
136
+
The `restyrepo` flavor is a built-from-source image that clones the OpenResty GitHub repository, builds the OpenResty source tarball from the selected branch or tag, and then builds OpenResty from that generated tarball. It uses Debian Trixie as its base image and is published for `amd64` and `arm64`.
137
+
133
138
`-fat` images are ones that have [LuaRocks and OPM](#opm) installed in them. `-buildpack` images are based on [`buildpack-deps` images](https://hub.docker.com/_/buildpack-deps#what-is-buildpack-deps); they might be useful when more build scaffolding is required in your application.
0 commit comments