Skip to content

Commit

Permalink
Update awscli on latest Ray, Coach and VW images (#44)
Browse files Browse the repository at this point in the history
* This change fixes the 'docevents' import error  due to an upgrade in botocore. boto/boto3#2596

Co-authored-by: Akash Goel <[email protected]>
  • Loading branch information
goelakash and goel-akas authored Oct 27, 2020
1 parent dff81e5 commit ab79cad
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions coach/docker/1.0.0/Dockerfile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ RUN cd /tmp && \
make && \
make install
# Update awscli for compatibility with the latest botocore version that breaks it
# https://github.com/boto/boto3/issues/2596
RUN pip install --upgrade awscli
RUN pip install --no-cache-dir \
PyOpenGL==3.1.0 \
pyglet==1.3.2 \
Expand Down
4 changes: 3 additions & 1 deletion ray/docker/0.8.2/Dockerfile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip
# Update awscli for compatibility with the latest botocore version that breaks it
# https://github.com/boto/boto3/issues/2596
RUN pip install --upgrade pip awscli
RUN pip install --no-cache-dir \
Cython==0.29.7 \
Expand Down
4 changes: 3 additions & 1 deletion ray/docker/0.8.5/Dockerfile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip
# Update awscli for compatibility with the latest botocore version that breaks it
# https://github.com/boto/boto3/issues/2596
RUN pip install --upgrade pip awscli
RUN pip install --no-cache-dir \
Cython==0.29.7 \
Expand Down
4 changes: 3 additions & 1 deletion ray/docker/0.8.5/Dockerfile.torch
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

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

RUN pip install --no-cache-dir \
Cython==0.29.7 \
Expand Down
4 changes: 4 additions & 0 deletions vw/docker/8.7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ RUN \
make && \
make install

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

RUN pip install ipython \
sagemaker-containers==2.5.1 \
redis==3.2.1 \
Expand Down

0 comments on commit ab79cad

Please sign in to comment.