Skip to content

Commit

Permalink
update to latest ioc-template
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Nov 8, 2023
1 parent d83215e commit f097b49
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
##### build stage ##############################################################

ARG TARGET_ARCHITECTURE
ARG BASE=7.0.7ec2
ARG REGISTRY=ghcr.io/epics-containers

##### build stage ##############################################################

FROM ${REGISTRY}/epics-base-${TARGET_ARCHITECTURE}-developer:${BASE} AS developer

# Get latest ibek while in development. Will come from epics-base in future.
RUN pip install --upgrade ibek==1.4.0
# get latest ibek while under dev. In future the epics-base version will be used
RUN pip install --upgrade ibek==1.4.2

# The devcontainer mounts the project root to /epics/ioc-adsimdetector. Using
# the same location here makes devcontainer/runtime differences transparent.
WORKDIR /epics/ioc-pmac/ibek-support
# the devcontainer mounts the project root to /epics/ioc-template
WORKDIR /epics/ioc-template/ibek-support

# copy the global ibek files
COPY ibek-support/_global/ _global
Expand Down Expand Up @@ -62,4 +61,4 @@ RUN ibek support apt-install --runtime

ENV TARGET_ARCHITECTURE ${TARGET_ARCHITECTURE}

ENTRYPOINT ["/bin/bash", "-c", "${IOC}/start.sh"]
ENTRYPOINT ["/bin/bash", "-c", "${IOC}/start.sh"]

0 comments on commit f097b49

Please sign in to comment.