-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
Dockerfile
Outdated
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; \ |
There was a problem hiding this comment.
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
Outdated
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
Ref: OPSEXP-2388