Conversation
febb3cf to
4c10a5d
Compare
d3e49cf to
c1bece2
Compare
akostadinov
left a comment
There was a problem hiding this comment.
Hi, I have a few questions to double check things are intentional but it's good to merge as far as I'm concerned. Thank you!
| ARG OPENRESTY_RPM_VERSION="1.21.4-1.el8" | ||
| ARG LUAROCKS_VERSION="3.11.1" | ||
| ARG JAEGERTRACING_CPP_CLIENT_RPM_VERSION="0.3.1-13.el8" | ||
| ARG OPENRESTY_RPM_VERSION="1.21.4-4.el9" |
There was a problem hiding this comment.
I wonder why do we use 1.21.4-4 here but we have upgraded to 1.21.4-5 in the images. I assume RHEL may have additional patches not reflected in the version number, just wanted to point that out in case it is relevant.
There was a problem hiding this comment.
OPENRESTY_RPM_VERSION refers to the version of the custom RPM built midstream and uploaded to the 3scale S3 bucket for upstream consumption. 1.21.4-5 is the CI image version. These two versions are independent, as it is sometimes necessary to rebuild the CI image without updating the RPMs.
Dockerfile
Outdated
|
|
||
| RUN dnf install -y 'dnf-command(config-manager)' | ||
| RUN microdnf update -y \ | ||
| && microdnf install -y 'yum-utils' dnf |
There was a problem hiding this comment.
microdnf supports the --nodocs flag in case we want to keep --setopt=tsflags=nodocs like before
just a nitpick, fine with me either way
btw we may just use microdnf without yum utils and dnf I think. The repo can be added just by downloading a file, no need for yum-config-manager. Again just an idea, it's fine with me as is.
There was a problem hiding this comment.
I've switched to using microdnf, and I want to keep yum-config-manager instead of having to use curl to copy files to the correct directory, since we'll delete it later anyway.
RUN microdnf -y remove yum-utils luarocks \
| && make build \ | ||
| && make install \ | ||
| && luarocks install luaossl 20200709 --tree ${APP_ROOT}/lua_modules CFLAGS="-O2 -fPIC -DHAVE_EVP_KDF_CTX=1" \ | ||
| # && luarocks install luaossl 20200709 --tree ${APP_ROOT}/lua_modules CFLAGS="-O2 -fPIC -DHAVE_EVP_KDF_CTX=1" \ |
There was a problem hiding this comment.
Is this intentionally commented out?
There was a problem hiding this comment.
Yes, it was intentional; luaossl 20200709 conflicts with the version provided by RHEL9, but I left it there in case I needed to pin the luaossl version again.
What
https://issues.redhat.com/browse/THREESCALE-11901
Verification steps
You should be able to build both images