File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ COPY --from=default-jdk /usr/lib/jvm /usr/lib/jvm
6969
7070COPY autoforward.py /usr/local/bin/autoforward
7171
72+ # Force downgrade of urllib3 to work around https://github.com/docker/docker-py/issues/3113
73+ # Install urllib3 early since it is also used by awscli
7274RUN set -eux; \
7375 sudo apt-get update; \
7476 sudo apt-get install --no-install-recommends apt-transport-https socat; \
@@ -78,7 +80,7 @@ RUN set -eux; \
7880 sudo apt install python3-pip; \
7981 sudo apt-get -y clean; \
8082 sudo rm -rf /var/lib/apt/lists/*; \
81- pip3 install awscli; \
83+ pip3 install "urllib3>=1.25.4,<2" awscli; \
8284 pip3 install requests requests-unixsocket; \
8385 pip3 cache purge; \
8486 sudo chmod +x /usr/local/bin/autoforward; \
You can’t perform that action at this time.
0 commit comments