aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 18:59:56 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 19:00:08 -0500
commit680b0529d61910eeb9e368606ac5aaf4229e328d (patch)
treef48d5dec205b2aadd6e93e018c5a963755f56c9e
parentActually fix the error with "test" (/bin/sh) (diff)
downloadjellyfin-packaging-680b0529d61910eeb9e368606ac5aaf4229e328d.tar.gz
jellyfin-packaging-680b0529d61910eeb9e368606ac5aaf4229e328d.tar.bz2
jellyfin-packaging-680b0529d61910eeb9e368606ac5aaf4229e328d.zip
Use cd instead of pushd
pushd is a BASHism and not valid in /bin/sh.
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index a90d194..a840558 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -158,14 +158,14 @@ RUN apt-get update \
# https://github.com/intel/compute-runtime/releases
RUN if test "${PACKAGE_ARCH}" = "amd64"; then \
mkdir intel-compute-runtime \
- && pushd intel-compute-runtime \
+ && cd intel-compute-runtime \
&& curl -LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-core_${IGC_VERSION}_amd64.deb \
-LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-opencl_${IGC_VERSION}_amd64.deb \
-LO https://github.com/intel/compute-runtime/releases/download/${NEO_VERSION}/intel-opencl-icd_${NEO_VERSION}_amd64.deb \
-LO https://github.com/intel/compute-runtime/releases/download/${NEO_VERSION}/intel-level-zero-gpu_${LEVEL_ZERO_VERSION}_amd64.deb \
-LO https://github.com/intel/compute-runtime/releases/download/${NEO_VERSION}/libigdgmm12_${GMMLIB_VERSION}_amd64.deb \
&& dpkg -i *.deb \
- && popd \
+ && cd .. \
&& rm -rf intel-compute-runtime \
; fi \
&& apt-get clean autoclean --yes \
bgstack15