Skip to content

Commit c9948b2

Browse files
author
Andrei D.
committed
Add --upgrade to pip install
1 parent ad695ce commit c9948b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ ENV PYTHONUNBUFFERED=1
1717

1818
# Install Python requirements
1919
COPY src/requirements.txt /tmp/pip-tmp/
20-
RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
20+
RUN pip3 install --upgrade --disable-pip-version-check --no-cache-dir -r /tmp/pip-tmp/requirements.txt \
2121
&& rm -rf /tmp/pip-tmp
2222

2323
# Install the latest version of cfn-lint which is needed in the local environment only
2424
# https://github.com/aws-cloudformation/cfn-lint-visual-studio-code
25-
RUN pip3 install --disable-pip-version-check --no-cache-dir cfn-lint
25+
RUN pip3 install --upgrade --disable-pip-version-check --no-cache-dir cfn-lint
2626

2727
# Install boto3 in the local environment
2828
# RUN pip3 install --disable-pip-version-check --no-cache-dir "boto3==1.*"

0 commit comments

Comments
 (0)