From a9c3f07abdacfcb7104d0c9ed6cf08d38fe40565 Mon Sep 17 00:00:00 2001 From: "Peter A. Jonsson" Date: Wed, 24 Jul 2024 11:08:09 +0200 Subject: [PATCH] index/Dockerfile: fix docker build warnings This puts the ENV updates in a single layer, and fixes the docker build warning: LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format --- index/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index/Dockerfile b/index/Dockerfile index 51735f2..9933933 100644 --- a/index/Dockerfile +++ b/index/Dockerfile @@ -34,8 +34,8 @@ RUN apt-get update \ && apt-get autoremove \ && rm -rf /var/lib/{apt,dpkg,cache,log} -ENV VIRTUAL_ENV /virtualenv/python3.12 -ENV PATH /virtualenv/python3.12/bin:$PATH +ENV VIRTUAL_ENV=/virtualenv/python3.12 \ + PATH=/virtualenv/python3.12/bin:$PATH COPY requirements.txt constraints.txt version.txt /conf/