Skip to content

Commit cec3ec7

Browse files
committed
chore(docker): Avoid the use of tee if stdout is not needed
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent bb742aa commit cec3ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ RUN --mount=type=tmpfs,target=/android \
312312
fi \
313313
&& yes | $ANDROID_HOME/cmdline-tools/bin/sdkmanager $SDK_MANAGER_PROXY_OPTIONS --sdk_root=$ANDROID_HOME "platform-tools" "cmdline-tools;latest"
314314

315-
RUN curl -ksS https://storage.googleapis.com/git-repo-downloads/repo | tee $ANDROID_HOME/cmdline-tools/bin/repo > /dev/null 2>&1 \
315+
RUN curl -ksS https://storage.googleapis.com/git-repo-downloads/repo > $ANDROID_HOME/cmdline-tools/bin/repo \
316316
&& sudo chmod a+x $ANDROID_HOME/cmdline-tools/bin/repo
317317

318318
FROM scratch AS android

0 commit comments

Comments
 (0)