Skip to content

Commit ab79cad

Browse files
goelakashgoel-akas
andauthored
Update awscli on latest Ray, Coach and VW images (#44)
* This change fixes the 'docevents' import error due to an upgrade in botocore. boto/boto3#2596 Co-authored-by: Akash Goel <goelakas@amazon.com>
1 parent dff81e5 commit ab79cad

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

coach/docker/1.0.0/Dockerfile.tf

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ RUN cd /tmp && \
2323
make && \
2424
make install
2525
26+
# Update awscli for compatibility with the latest botocore version that breaks it
27+
# https://github.com/boto/boto3/issues/2596
28+
RUN pip install --upgrade awscli
29+
2630
RUN pip install --no-cache-dir \
2731
PyOpenGL==3.1.0 \
2832
pyglet==1.3.2 \

ray/docker/0.8.2/Dockerfile.tf

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1818
apt-get clean && \
1919
rm -rf /var/lib/apt/lists/*
2020
21-
RUN pip install --upgrade pip
21+
# Update awscli for compatibility with the latest botocore version that breaks it
22+
# https://github.com/boto/boto3/issues/2596
23+
RUN pip install --upgrade pip awscli
2224
2325
RUN pip install --no-cache-dir \
2426
Cython==0.29.7 \

ray/docker/0.8.5/Dockerfile.tf

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1818
apt-get clean && \
1919
rm -rf /var/lib/apt/lists/*
2020
21-
RUN pip install --upgrade pip
21+
# Update awscli for compatibility with the latest botocore version that breaks it
22+
# https://github.com/boto/boto3/issues/2596
23+
RUN pip install --upgrade pip awscli
2224
2325
RUN pip install --no-cache-dir \
2426
Cython==0.29.7 \

ray/docker/0.8.5/Dockerfile.torch

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1717
apt-get clean && \
1818
rm -rf /var/lib/apt/lists/*
1919

20-
RUN pip install --upgrade pip
20+
# Update awscli for compatibility with the latest botocore version that breaks it
21+
# https://github.com/boto/boto3/issues/2596
22+
RUN pip install --upgrade pip awscli
2123

2224
RUN pip install --no-cache-dir \
2325
Cython==0.29.7 \

vw/docker/8.7.0/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ RUN \
4444
make && \
4545
make install
4646

47+
# Update awscli for compatibility with the latest botocore version that breaks it
48+
# https://github.com/boto/boto3/issues/2596
49+
RUN pip install --upgrade awscli
50+
4751
RUN pip install ipython \
4852
sagemaker-containers==2.5.1 \
4953
redis==3.2.1 \

0 commit comments

Comments
 (0)