aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 15c34bb..16d143a 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -156,7 +156,7 @@ RUN apt-get update \
# Prefer NEO to Beignet since the latter one doesn't support Comet Lake or newer for now.
# Do not use the intel-opencl-icd package from repo since they will not build with RELEASE_WITH_REGKEYS enabled.
# https://github.com/intel/compute-runtime/releases
-RUN if [[ ${PACKAGE_ARCH} == "amd64" ]]; then \
+RUN if test "${PACKAGE_ARCH}" == "amd64"; then \
mkdir intel-compute-runtime \
&& pushd intel-compute-runtime \
&& curl -LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-core_${IGC_VERSION}_amd64.deb \
@@ -173,7 +173,7 @@ RUN if [[ ${PACKAGE_ARCH} == "amd64" ]]; then \
&& rm -rf /var/cache/apt/archives* /var/lib/apt/lists/*
# Rockchip RK3588 libmali OpenCL dependencies:
-RUN if [[ ${PACKAGE_ARCH} == "arm64" ]]; then \
+RUN if test "${PACKAGE_ARCH}" == "arm64"; then \
mkdir libmali-rockchip \
&& cd libmali-rockchip \
&& curl -LO https://github.com/tsukumijima/libmali-rockchip/releases/download/${MALI_PKG_TAG}/libmali-${MALI_PKG_CFG}_${MALI_PKG_VER}.deb \
bgstack15