Skip to content

Commit f865a08

Browse files
committed
build(docker): avoid running command twice
1 parent 06394e2 commit f865a08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

img/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ RUN apk -U upgrade \
2222
optipng=0.7.8-r0 \
2323
py3-pip=25.1.1-r0 \
2424
python3=3.12.11-r0 \
25-
&& if apk -u list | grep -q -e . ; then \
26-
apk -u list ; \
25+
&& if apk -u list | tee -a /dev/stderr | grep -q -e . ; then \
2726
exit 1 ; \
2827
fi \
2928
&& apk cache clean \

0 commit comments

Comments
 (0)