Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPSEXP-2388: Use Tomcat native libs 2.x #200

Merged
merged 14 commits into from
Oct 31, 2024
Merged

OPSEXP-2388: Use Tomcat native libs 2.x #200

merged 14 commits into from
Oct 31, 2024

Conversation

alxgomz
Copy link
Contributor

@alxgomz alxgomz commented Oct 29, 2024

Ref: OPSEXP-2388

  • Download, check & compile APR libs
  • Install openssl 3.x from EPEL for RL8
  • Updatecli manifest to keep APR 1.x & tcnative 2.x versions up to date

@alxgomz alxgomz requested a review from gionn October 29, 2024 18:58
Dockerfile Outdated
Comment on lines 104 to 112
RUN if [ $DISTRIB_MAJOR -eq 8 ]; then dnf install -y dnf-plugins-core; \
dnf config-manager -y --set-enabled powertools; \
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm; \
dnf install -y openssl3-devel; \
ln -s /usr/include/openssl3/openssl /usr/include/openssl; \
export LIBS="-L/usr/lib64/openssl3 -Wl,-rpath,/usr/lib64/openssl3 -lssl -lcrypto"; \
export CFLAGS="-I/usr/include/openssl3"; \
else dnf install -y openssl-devel; \
fi; \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have multi-line commands not following the same code style, some times we are using ; and sometimes && - which should not make any difference in this context

it seems there is also a new heredoc notation since recent buildkit
https://docs.docker.com/reference/dockerfile/#here-documents

restrain from changing untouched lines in this pr even if you feel the urge to do so, better do the code style change in a new pr

Dockerfile Show resolved Hide resolved
@alxgomz alxgomz requested a review from gionn October 30, 2024 09:50
Dockerfile Outdated
Comment on lines 111 to 114
if [ $DISTRIB_MAJOR -eq 8 ]; then dnf install -y dnf-plugins-core
dnf config-manager -y --set-enabled powertools
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [ $DISTRIB_MAJOR -eq 8 ]; then dnf install -y dnf-plugins-core
dnf config-manager -y --set-enabled powertools
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
if [ $DISTRIB_MAJOR -eq 8 ]; then
dnf install -y dnf-plugins-core
dnf config-manager -y --set-enabled powertools
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Dockerfile Outdated
Comment on lines 174 to 178
if [ $DISTRIB_MAJOR -eq 8 ]; then dnf install -y dnf-plugins-core
dnf config-manager -y --set-enabled powertools
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [ $DISTRIB_MAJOR -eq 8 ]; then dnf install -y dnf-plugins-core
dnf config-manager -y --set-enabled powertools
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
if [ $DISTRIB_MAJOR -eq 8 ]; then
dnf install -y dnf-plugins-core
dnf config-manager -y --set-enabled powertools
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

@alxgomz alxgomz merged commit 58b1e00 into master Oct 31, 2024
6 checks passed
@alxgomz alxgomz deleted the OPSEXP-2388 branch October 31, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants