Skip to content

Commit

Permalink
base: use "ENV key=value" syntax.
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
gustavosr8 committed Dec 11, 2024
1 parent 683dfbd commit 6844376
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions base/musl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6844376

Please sign in to comment.