Skip to content

Commit

Permalink
base: don't store RELEASE in /opt/epics.
Browse files Browse the repository at this point in the history
Also switch to using $EPICS_RELEASE_PATH where relevant so they don't
have to care about the specific location.
  • Loading branch information
ericonr committed Dec 3, 2024
1 parent fce6105 commit f72ee54
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ WORKDIR /opt/${REPONAME}

COPY . .

RUN cp /opt/epics/RELEASE configure/RELEASE
RUN cp $EPICS_RELEASE_FILE configure/RELEASE
RUN rm -rf .git/


Expand Down
2 changes: 1 addition & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ 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 /opt/epics/RELEASE
ENV EPICS_RELEASE_FILE $EPICS_IN_DOCKER/RELEASE

WORKDIR /opt/epics

Expand Down
2 changes: 1 addition & 1 deletion base/lnls-build-static-ioc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ restore_configure() {
trap restore_configure EXIT

echo "overwriting configure/ files..."
cp /opt/epics/RELEASE configure/
cp $EPICS_RELEASE_FILE configure/
cat << "EOF" > configure/CONFIG_SITE.local
STATIC_BUILD=YES
FULL_STATIC_BUILD=YES
Expand Down
2 changes: 1 addition & 1 deletion base/musl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ 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 /opt/epics/RELEASE
ENV EPICS_RELEASE_FILE $EPICS_IN_DOCKER/RELEASE

WORKDIR /opt/epics

Expand Down

0 comments on commit f72ee54

Please sign in to comment.