From 95aee7d3be349e92dbc638e9a760d7278bb358c3 Mon Sep 17 00:00:00 2001 From: Markus Perl Date: Tue, 26 Nov 2024 10:56:57 +0100 Subject: [PATCH] Docker env update --- Dockerfile | 4 ++-- cuda-ubuntu.dockerfile | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb557f2e..e5c7f843 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:24.04 AS build -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get -y --no-install-recommends install build-essential curl ca-certificates libva-dev \ @@ -15,7 +15,7 @@ RUN SKIPINSTALL=yes /app/build-ffmpeg --build FROM ubuntu:24.04 -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive # install va-driver RUN apt-get update \ diff --git a/cuda-ubuntu.dockerfile b/cuda-ubuntu.dockerfile index 28337d50..5c468ecd 100644 --- a/cuda-ubuntu.dockerfile +++ b/cuda-ubuntu.dockerfile @@ -3,9 +3,9 @@ ARG UBUNTUVER=24.04 FROM nvidia/cuda:${CUDAVER}-devel-ubuntu${UBUNTUVER} AS build -ENV DEBIAN_FRONTEND noninteractive -ENV NVIDIA_VISIBLE_DEVICES all -ENV NVIDIA_DRIVER_CAPABILITIES compute,utility,video +ENV DEBIAN_FRONTEND=noninteractive +ENV NVIDIA_VISIBLE_DEVICES=all +ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video RUN apt-get update && \ apt-get upgrade -y && \ @@ -36,9 +36,9 @@ RUN CUDA_COMPUTE_CAPABILITY=$(deviceQuery | grep Capability | head -n 1 | awk 'E FROM ubuntu:${UBUNTUVER} AS release -ENV DEBIAN_FRONTEND noninteractive -ENV NVIDIA_VISIBLE_DEVICES all -ENV NVIDIA_DRIVER_CAPABILITIES compute,utility,video +ENV DEBIAN_FRONTEND=noninteractive +ENV NVIDIA_VISIBLE_DEVICES=all +ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video # install va-driver RUN apt-get update \