Curl Error in HTTP2 framing layer when trying to install Jenkins plugin
If HTTP/2 is not working try forcing HTTP 1.1:
COPY plugins.txt /usr/share/jenkins/ref/

ENV CURL_OPTIONS -sSfL --http1.1
ENV CURL_CONNECTION_TIMEOUT 60
RUN /usr/local/bin/install-plugins.sh &lt; /usr/share/jenkins/ref/plugins.txt