Closed otzoran closed 3 years ago
Hello,
The tag on the image refers to the docker-openresty
Git tag. This is tracked on the CHANGELOG.md.
The resty_deb_version
corresponds to the versions available here. I don't think there are any newer?
For the resty_image_tag
on buster-fat
, I think you are right and I need to re-apply the label in the Dockerfile. However, I think the change I'm going to make is to change the label there to RESTY_FAT_IMAGE_BASE
and RESTY_FAT_IMAGE_TAG
so that both levels of labels are maintained. Thoughts on that?
thanx for the express reply and clarifications.
The tag on the image ...
I see, but image tags can be easily changed. There should be an immutable label engraved in the image that expressly identify the docker-openresty
so that it can be distinguished from the resty_deb_version
The
resty_deb_version
corresponds
ok, now it's clear. The README is not verbose in this respect. The link you provided may be great.
For the
resty_image_tag
...
Fine. As long as I can distinguish slim and fat ...
I just pushed 1.19.3.1-8
with changes that add documentation and preserve labels better.
docker inspect openresty/openresty:1.19.3.1-8-alpine-fat | jq '.[0].Config.Labels'
{
"maintainer": "Evan Wies <evan@neomantra.net>",
"resty_add_package_builddeps": "",
"resty_add_package_rundeps": "",
"resty_config_deps": "--with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --with-ld-opt='-L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib' ",
"resty_config_options": " --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-pcre-jit --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads ",
"resty_config_options_more": "",
"resty_eval_post_make": "",
"resty_eval_pre_configure": "",
"resty_fat_image_base": "openresty/openresty",
"resty_fat_image_tag": "alpine",
"resty_image_base": "alpine",
"resty_image_tag": "3.13",
"resty_luarocks_version": "3.7.0",
"resty_openssl_patch_version": "1.1.1f",
"resty_openssl_url_base": "https://www.openssl.org/source",
"resty_openssl_version": "1.1.1k",
"resty_pcre_version": "8.44",
"resty_version": "1.19.3.1"
}
hi Evan,
The Issue
resty_deb_version
is not updated in new releases (fixed at "1.19.3.1-1~buster1")resty_image_tag
for "buster-fat" reads buster-slimRecreate
Just downloaded
openresty/openresty:1.19.3.1-6-buster-fat
This is the image repo:
Here's what I get when inspecting the labels for the recent 1.19.3.1-6-buster-fat:
Here's what I get when inspecting the labels for the older 1.19.3.1-3-buster-fat:
thanx Ori