Skip to content

Commit

Permalink
fix: Remove urllib workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer committed Aug 22, 2024
1 parent 6df1090 commit 8a4ca98
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ COPY --from=default-jdk /usr/lib/jvm /usr/lib/jvm

COPY autoforward.py /usr/local/bin/autoforward

# Force downgrade of urllib3 to work around https://github.com/docker/docker-py/issues/3113
# Install urllib3 early since it is also used by awscli
# Install the following tools
# - awscli: AWS CLI
# - autoforward dependencies: tool to forward request to a remote Docker deamon
# - datadog-ci: Datadog CI tool
RUN <<-EOT
set -eux
sudo apt-get update
Expand All @@ -94,7 +96,7 @@ RUN <<-EOT
sudo apt install python3-pip
sudo apt-get -y clean
sudo rm -rf /var/lib/apt/lists/*
pip3 install "urllib3>=1.25.4,<2" awscli
pip3 install awscli
pip3 install requests requests-unixsocket
pip3 cache purge
sudo chmod +x /usr/local/bin/autoforward
Expand Down

0 comments on commit 8a4ca98

Please sign in to comment.