Use cd instead of pushd

pushd is a BASHism and not valid in /bin/sh.
This commit is contained in:
Joshua M. Boniface 2024-03-03 18:59:56 -05:00
parent d63a14a12e
commit 680b0529d6

View File

@ -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 \