From dbc9f5a5d9482618659cf2dcb722b8ded403d751 Mon Sep 17 00:00:00 2001 From: hoshi-hiyouga Date: Wed, 28 May 2025 20:20:59 +0800 Subject: [PATCH] [assets] update Dockerfile (#8201) --- docker/docker-cuda/Dockerfile | 3 +++ docker/docker-npu/Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker/docker-cuda/Dockerfile b/docker/docker-cuda/Dockerfile index a35122b0..beb13a3c 100644 --- a/docker/docker-cuda/Dockerfile +++ b/docker/docker-cuda/Dockerfile @@ -18,6 +18,9 @@ ENV PIP_ROOT_USER_ACTION=ignore ENV http_proxy="${HTTP_PROXY}" ENV https_proxy="${HTTP_PROXY}" +# Use Bash instead of default /bin/sh +SHELL ["/bin/bash", "-c"] + # Set the working directory WORKDIR /app diff --git a/docker/docker-npu/Dockerfile b/docker/docker-npu/Dockerfile index 4a0ff6a5..b1201a9a 100644 --- a/docker/docker-npu/Dockerfile +++ b/docker/docker-npu/Dockerfile @@ -17,6 +17,9 @@ ENV PIP_ROOT_USER_ACTION=ignore ENV http_proxy="${HTTP_PROXY}" ENV https_proxy="${HTTP_PROXY}" +# Use Bash instead of default /bin/sh +SHELL ["/bin/bash", "-c"] + # Set the working directory WORKDIR /app