Skip to content

Commit

Permalink
Changes to fix issues caused by latest adsim image
Browse files Browse the repository at this point in the history
  • Loading branch information
8ryn committed Nov 28, 2023
1 parent cc57c62 commit 6ab1452
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion sim/areaDetectorDock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
##### runtime stage ############################################################

FROM ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:23.3.4 AS runtime
FROM ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2023.11.2 AS runtime

#copy config folder
COPY config ${IOC}/config

#User created to avoid writing files as root
RUN chmod a+w /epics
RUN useradd --shell /bin/bash ioc
USER ioc
2 changes: 1 addition & 1 deletion sim/areaDetectorDock/config/st.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ dbpf "ADT:USER1:CAM:ImageMode", "Single"

dbpf "ADT:USER1:CAM:Noise", "5"

dbpf "ADT:USER1:CAM:NDAttributesFile", "/repos/epics/ioc/config/detAttributes.xml"
dbpf "ADT:USER1:CAM:NDAttributesFile", "/epics/ioc/config/detAttributes.xml"
2 changes: 1 addition & 1 deletion sim/pulsedLaser/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.10

RUN pip install softioc cothread
RUN pip install softioc==4.4.0 cothread==2.18.3

COPY simPulse.py SimPulse.py

Expand Down

0 comments on commit 6ab1452

Please sign in to comment.