aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 18:49:56 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 18:49:56 -0500
commit5f29b32962155e5c5feebdbf99df20bd45d21478 (patch)
treee01e422b720994dab5e1daae74f4747f2b5ab815
parentFix incorrect token (diff)
downloadjellyfin-packaging-5f29b32962155e5c5feebdbf99df20bd45d21478.tar.gz
jellyfin-packaging-5f29b32962155e5c5feebdbf99df20bd45d21478.tar.bz2
jellyfin-packaging-5f29b32962155e5c5feebdbf99df20bd45d21478.zip
Use other test format (/bin/sh)
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 16d143a..fd5a5e0 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 test "${PACKAGE_ARCH}" == "amd64"; then \
+RUN if [ "${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 test "${PACKAGE_ARCH}" == "amd64"; then \
&& rm -rf /var/cache/apt/archives* /var/lib/apt/lists/*
# Rockchip RK3588 libmali OpenCL dependencies:
-RUN if test "${PACKAGE_ARCH}" == "arm64"; then \
+RUN if [ "${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