Просмотр исходного кода

fix missing stderr redirect breaking docker hub autobuild

Nick Sweeting 2 лет назад
Родитель
Сommit
eaedd828b7
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      Dockerfile

+ 4 - 4
Dockerfile

@@ -171,10 +171,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T
     # Save version info
     && ( \
         which curl && curl --version | head -n1 \
-        && which wget && wget --version | head -n1 \
-        && which yt-dlp && yt-dlp --version | head -n1 \
-        && which git && git --version | head -n1 \
-        && which rg && rg --version | head -n1 \
+        && which wget && wget --version 2>&1 | head -n1 \
+        && which yt-dlp && yt-dlp --version 2>&1 | head -n1 \
+        && which git && git --version 2>&1 | head -n1 \
+        && which rg && rg --version 2>&1 | head -n1 \
         && echo -e '\n\n' \
     ) | tee -a /VERSION.txt