Skip to content

Commit

Permalink
Clean up root-owned cache items
Browse files Browse the repository at this point in the history
  • Loading branch information
varju committed Oct 15, 2022
1 parent 09a5cc4 commit e1f074b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@aws-cdk/aws-lambda-python/lib/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RUN \
# Ensure all users can write to poetry cache
chmod -R 777 /tmp/poetry-cache && \
# pipenv 2022.4.8 is the last version with Python 3.6 support
pip install pipenv==2022.4.8 poetry
pip install pipenv==2022.4.8 poetry && \
# Ensure no temporary files remain in the caches
rm -rf /tmp/pip-cache/* /tmp/poetry-cache/*

CMD [ "python" ]

0 comments on commit e1f074b

Please sign in to comment.