Remove curl installation step, as curl-minimal is already provided in ubi9 (#15998) (#16005)

(cherry picked from commit 32052a263f)

Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
This commit is contained in:
github-actions[bot] 2024-03-28 13:42:09 +00:00 committed by GitHub
parent b565864f4f
commit d758e5d9c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ export DEBIAN_FRONTEND=noninteractive && \
<% if image_flavor != 'ironbank' -%>
<%= package_manager %> upgrade -y && \
<% end -%>
<%= package_manager %> install -y procps findutils tar gzip curl && \
<%= package_manager %> install -y procps findutils tar gzip && \
<% if image_flavor == 'ubi8' -%>
<%= package_manager %> install -y openssl && \
<% end -%>
@ -83,6 +83,9 @@ export DEBIAN_FRONTEND=noninteractive && \
<% else -%>
<%= package_manager %> install -y locales && \
<% end -%>
<% if image_flavor != 'ubi9' && image_flavor != 'ironbank' -%>
<%= package_manager %> install -y curl && \
<% end -%>
<%= package_manager %> clean all && \
<% if image_flavor == 'full' || image_flavor == 'oss' -%>
locale-gen 'en_US.UTF-8' && \