Skip to content

Commit 91aae0f

Browse files
committed
build(python): switch to pipx for better virtual env isolation
1 parent e29f44e commit 91aae0f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

aws-cli/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ RUN dnf upgrade -y \
3636
wget-1.21.3-1.amzn2023.0.4 \
3737
xz-5.2.5-9.amzn2023.0.2 \
3838
zip-3.0-28.amzn2023.0.2 \
39-
&& IFS=$'\n\t' \
4039
&& if dnf upgrade -y | tee -a /dev/stderr | grep -q -e '^Nothing to do.' ; then \
4140
exit 1 ; \
4241
fi \
@@ -47,7 +46,7 @@ RUN dnf upgrade -y \
4746
# FIXME @TL --break-system-packages not supported until Python 3.11.
4847
RUN pip3 install --no-cache-dir --upgrade \
4948
pipx==1.7.1 \
50-
&& pip3 list --outdated | tee -a /dev/stderr | grep -q -e '^pipx ' ; then \
49+
&& if pip3 list --outdated | tee -a /dev/stderr | grep -q -e '^pipx ' ; then \
5150
exit 1 ; \
5251
fi
5352

0 commit comments

Comments
 (0)