File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11IRIS_PORT = 52773
2+ DOCKERFILE = Dockerfile-zpm-samplesbi
3+ DOCKERFILE = Dockerfile
4+ DOCKERFILE = Dockerfile-20192
5+ DOCKERFILE = Dockerfile-zpm
Original file line number Diff line number Diff line change @@ -21,13 +21,17 @@ COPY Installer.cls .
2121COPY src src
2222COPY irissession.sh /
2323
24+ # running IRIS and open IRIS termninal in USER namespace
2425SHELL ["/irissession.sh"]
25-
26+ # below is objectscript executed in terminal
27+ # each row is what you type in terminal and Enter
2628RUN \
2729 do $SYSTEM.OBJ.Load("Installer.cls", "ck") \
30+ set sc = ##class(App.Installer).setup() \
2831 Do $system.OBJ.Load("/tmp/deps/zpm.xml", "ck") \
29- zpm "install webterminal" \
30- set sc = ##class(App.Installer).setup()
31-
32+ zn "IRISAPP" \
33+ zpm "install webterminal"
3234
33- CMD [ "-l", "/usr/irissys/mgr/messages.log" ]
35+ # bringing the standard shell back
36+ SHELL ["/bin/bash", "-c"]
37+ CMD [ "-l", "/usr/irissys/mgr/messages.log" ]
Original file line number Diff line number Diff line change 11version : ' 3.6'
22services :
33 iris :
4- build : .
4+ build :
5+ context : .
6+ dockerfile : ${DOCKERFILE:-Dockerfile}
57 restart : always
68 ports :
79 - 51773
Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ iris start $ISC_PACKAGE_INSTANCENAME quietly
44
55cat << EOF | iris session $ISC_PACKAGE_INSTANCENAME -U %SYS
66do ##class(%SYSTEM.Process).CurrentDirectory("$PWD ")
7- Do ##class(Security.Users).UnExpireUserPasswords("*")
87$@
98if '\$ Get(sc) do ##class(%SYSTEM.Process).Terminate(, 1)
9+ zn "%SYS"
10+ Do ##class(Security.Users).UnExpireUserPasswords("*")
1011do ##class(SYS.Container).QuiesceForBundling()
1112do ##class(SYS.Container).SetMonitorStateOK("irisowner")
1213halt
You can’t perform that action at this time.
0 commit comments