Skip to content

Commit b760a2b

Browse files
committed
build(docker): avoid running command twice
1 parent eee6256 commit b760a2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crypt/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ RUN apk -U upgrade \
2525
py3-pip=25.1.1-r0 \
2626
python3=3.12.11-r0 \
2727
xmlsec=1.3.7-r0 \
28-
&& if apk -u list | grep -q -e . ; then \
29-
apk -u list ; \
28+
&& if apk -u list | tee -a /dev/stderr | grep -q -e . ; then \
3029
exit 1 ; \
3130
fi \
3231
&& apk cache clean \

0 commit comments

Comments
 (0)