Skip to content

Commit

Permalink
fix seq url
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Sep 29, 2023
1 parent db56ad9 commit 4cabac5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ ENV LD_LIBRARY_PATH=${EPICS_BASE}/lib/${EPICS_HOST_ARCH}
ENV VIRTUALENV /venv
ENV PATH=${VIRTUALENV}/bin:${EPICS_BASE}/bin/${EPICS_HOST_ARCH}:${PATH}
ENV SUPPORT ${EPICS_ROOT}/support
ENV GLOBAL_RELEASE ${SUPPORT}/configure/RELEASE
ENV IOC ${EPICS_ROOT}/ioc
ENV RTEMS_TOP=/rtems

ENV EPICS_VERSION=R7.0.7


Expand Down Expand Up @@ -86,14 +86,9 @@ RUN bash /epics/scripts/patch-epics-base.sh
RUN make -C ${EPICS_BASE} -j $(nproc)

# also build the sequencer as it is used by many support modules
RUN wget https://github.com/ISISComputingGroup/EPICS-seq/archive/refs/tags/vendor_2_2_9.tar.gz && \
tar -xzf vendor*.tar.gz -C ${SUPPORT} && \
rm vendor*.tar.gz && \
mv ${SUPPORT}/EPICS-seq* ${SUPPORT}/sncseq && \
echo EPICS_BASE=${EPICS_BASE} > ${SUPPORT}/sncseq/configure/RELEASE
RUN bash /epics/scripts/get-sncseq.sh
RUN make -C ${SUPPORT}/sncseq -j $(nproc)


# setup a global python venv and install ibek
RUN python3 -m venv ${VIRTUALENV} && pip install ibek==1.3.0

Expand Down
10 changes: 10 additions & 0 deletions epics/scripts/get-sncseq.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# we keep the sncseq source in our own epics-base repo because
# the original source has been removed for the moment
# (BESSY Hack: https://www.helmholtz.de/en/newsroom/bessy-ii-back-in-operation-after-cyber-attack-on-helmholtz-zentrum-berlin-hzb/)

cd /tmp

wget https://github.com/epics-containers/epics-base/raw/dev/vendor_2_2_9.tar.gz
tar -xzf vendor*.tar.gz -C ${SUPPORT}
rm vendor*.tar.gz
mv ${SUPPORT}/EPICS-seq* ${SUPPORT}/sncseq

0 comments on commit 4cabac5

Please sign in to comment.