From 68443762a491275d46b08a5fda004fc7c182c4fa Mon Sep 17 00:00:00 2001 From: Gustavo de Souza dos Reis Date: Wed, 11 Dec 2024 10:45:22 -0300 Subject: [PATCH] base: use "ENV key=value" syntax. LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/ --- base/Dockerfile | 8 ++++---- base/musl/Dockerfile | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index ffb656d..b7ef9a4 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -37,14 +37,14 @@ RUN apt update -y && \ COPY lnls-get-n-unpack.sh /usr/local/bin/lnls-get-n-unpack COPY lnls-run.sh /usr/local/bin/lnls-run -ENV EPICS_IN_DOCKER /opt/epics-in-docker +ENV EPICS_IN_DOCKER=/opt/epics-in-docker RUN mkdir $EPICS_IN_DOCKER COPY install-functions.sh $EPICS_IN_DOCKER -ENV EPICS_BASE_PATH /opt/epics/base -ENV EPICS_MODULES_PATH /opt/epics/modules -ENV EPICS_RELEASE_FILE $EPICS_IN_DOCKER/RELEASE +ENV EPICS_BASE_PATH=/opt/epics/base +ENV EPICS_MODULES_PATH=/opt/epics/modules +ENV EPICS_RELEASE_FILE=$EPICS_IN_DOCKER/RELEASE WORKDIR /opt/epics diff --git a/base/musl/Dockerfile b/base/musl/Dockerfile index c33d1fc..f0d76cd 100644 --- a/base/musl/Dockerfile +++ b/base/musl/Dockerfile @@ -37,14 +37,14 @@ RUN apk add --no-cache \ COPY lnls-get-n-unpack.sh /usr/local/bin/lnls-get-n-unpack COPY lnls-run.sh /usr/local/bin/lnls-run -ENV EPICS_IN_DOCKER /opt/epics-in-docker +ENV EPICS_IN_DOCKER=/opt/epics-in-docker RUN mkdir $EPICS_IN_DOCKER COPY install-functions.sh $EPICS_IN_DOCKER -ENV EPICS_BASE_PATH /opt/epics/base -ENV EPICS_MODULES_PATH /opt/epics/modules -ENV EPICS_RELEASE_FILE $EPICS_IN_DOCKER/RELEASE +ENV EPICS_BASE_PATH=/opt/epics/base +ENV EPICS_MODULES_PATH=/opt/epics/modules +ENV EPICS_RELEASE_FILE=$EPICS_IN_DOCKER/RELEASE WORKDIR /opt/epics