diff --git a/src/ue4docker/dockerfiles/ue4-build-prerequisites/linux/Dockerfile b/src/ue4docker/dockerfiles/ue4-build-prerequisites/linux/Dockerfile index d4dba0af..faeca470 100644 --- a/src/ue4docker/dockerfiles/ue4-build-prerequisites/linux/Dockerfile +++ b/src/ue4docker/dockerfiles/ue4-build-prerequisites/linux/Dockerfile @@ -1,5 +1,5 @@ ARG BASEIMAGE -FROM ${BASEIMAGE} as prerequisites +FROM ${BASEIMAGE} AS prerequisites {% if not disable_labels %} # Add a sentinel label so we can easily identify all derived images, including intermediate images @@ -11,15 +11,15 @@ ENV DEBIAN_FRONTEND=noninteractive # Enable CUDA support for NVIDIA GPUs (even when not using a CUDA base image), since evidently some versions of UE unconditionally assume # `libcuda.so.1` exists when using the NVIDIA proprietary drivers, and will fail to initialise the Vulkan RHI if it is missing -ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},compute +ENV NVIDIA_DRIVER_CAPABILITIES=${NVIDIA_DRIVER_CAPABILITIES},compute # Add the "display" driver capability for NVIDIA GPUs # (This allows us to run the Editor from an interactive container by bind-mounting the host system's X11 socket) -ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display +ENV NVIDIA_DRIVER_CAPABILITIES=${NVIDIA_DRIVER_CAPABILITIES},display # Enable NVENC support for use by Unreal Engine plugins that depend on it (e.g. Pixel Streaming) # (Note that adding `video` seems to implicitly enable `compute` as well, but we include separate directives here to clearly indicate the purpose of both) -ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},video +ENV NVIDIA_DRIVER_CAPABILITIES=${NVIDIA_DRIVER_CAPABILITIES},video # Install our build prerequisites RUN apt-get update && apt-get install -y --no-install-recommends \ diff --git a/src/ue4docker/dockerfiles/ue4-build-prerequisites/windows/Dockerfile b/src/ue4docker/dockerfiles/ue4-build-prerequisites/windows/Dockerfile index 280c044a..16b23050 100644 --- a/src/ue4docker/dockerfiles/ue4-build-prerequisites/windows/Dockerfile +++ b/src/ue4docker/dockerfiles/ue4-build-prerequisites/windows/Dockerfile @@ -2,9 +2,9 @@ ARG BASEIMAGE ARG DLLSRCIMAGE -FROM ${DLLSRCIMAGE} as dlls +FROM ${DLLSRCIMAGE} AS dlls -FROM ${BASEIMAGE} as deduplication +FROM ${BASEIMAGE} AS deduplication SHELL ["cmd", "/S", "/C"] {% if not disable_labels %} @@ -43,7 +43,7 @@ COPY remove-duplicate-dlls.ps1 C:\remove-duplicate-dlls.ps1 RUN powershell -ExecutionPolicy Bypass -File C:\remove-duplicate-dlls.ps1 # Copy the DLL files into a clean image -FROM ${BASEIMAGE} as prerequisites +FROM ${BASEIMAGE} AS prerequisites SHELL ["cmd", "/S", "/C"] COPY --from=deduplication C:\GatheredDlls\ C:\Windows\System32\ diff --git a/src/ue4docker/dockerfiles/ue4-full/linux/Dockerfile b/src/ue4docker/dockerfiles/ue4-full/linux/Dockerfile index 368bdfea..b8da8539 100644 --- a/src/ue4docker/dockerfiles/ue4-full/linux/Dockerfile +++ b/src/ue4docker/dockerfiles/ue4-full/linux/Dockerfile @@ -42,7 +42,7 @@ USER ue4 # Explicitly set the configuration directory for ue4cli # (This prevents things from breaking when using CI/CD systems that override the $HOME environment variable) -ENV UE4CLI_CONFIG_DIR /home/ue4/.config/ue4cli +ENV UE4CLI_CONFIG_DIR=/home/ue4/.config/ue4cli # Copy the Conan configuration settings and package cache from the previous build stage COPY --from=conan --chown=ue4:ue4 /home/ue4/.conan /home/ue4/.conan diff --git a/src/ue4docker/dockerfiles/ue4-full/windows/Dockerfile b/src/ue4docker/dockerfiles/ue4-full/windows/Dockerfile index b30da1b4..2ce2b834 100644 --- a/src/ue4docker/dockerfiles/ue4-full/windows/Dockerfile +++ b/src/ue4docker/dockerfiles/ue4-full/windows/Dockerfile @@ -40,7 +40,7 @@ RUN pip install "%CONAN_VERSION%" "%UE4CLI_VERSION%" "%CONAN_UE4CLI_VERSION%" ue # Explicitly set the configuration directory for ue4cli # (This prevents things from breaking when using CI/CD systems that override the $HOME environment variable) -ENV UE4CLI_CONFIG_DIR C:\Users\ContainerAdministrator\AppData\Roaming\ue4cli +ENV UE4CLI_CONFIG_DIR=C:\Users\ContainerAdministrator\AppData\Roaming\ue4cli # Copy the Conan configuration settings and package cache from the previous build stage COPY --from=conan C:\Users\ContainerAdministrator\.conan C:\Users\ContainerAdministrator\.conan