File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "files.associations" : {
33
44 "Dockerfile*" : " dockerfile" ,
5+ "iris.script" : " objectscript"
56 },
67 "objectscript.conn" :{
78 "ns" : " IRISAPP" ,
89 "active" : true ,
10+ "username" :" _SYSTEM" ,
11+ "password" : " SYS" ,
912 "docker-compose" : {
1013 "service" : " iris" ,
1114 "internalPort" : 52773
Original file line number Diff line number Diff line change 11ARG IMAGE=store/intersystems/iris-community:2020.1.0.204.0
22ARG IMAGE=intersystemsdc/iris-community:2020.1.0.209.0-zpm
33ARG IMAGE=intersystemsdc/iris-community:2020.2.0.204.0-zpm
4+ ARG IMAGE=intersystemsdc/iris-community:2020.3.0.200.0-zpm
5+ ARG IMAGE=intersystemsdc/irishealth-community:2020.3.0.200.0-zpm
46FROM $IMAGE
57
68USER root
79
810WORKDIR /opt/irisapp
911RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp
10- COPY irissession.sh /
11- RUN chmod +x /irissession.sh
12-
1312USER ${ISC_PACKAGE_MGRUSER}
1413
1514COPY Installer.cls .
1615COPY src src
17- SHELL ["/irissession.sh" ]
18-
19- RUN \
20- do $SYSTEM.OBJ.Load("Installer.cls" , "ck" ) \
21- set sc = ##class(App.Installer).setup()
16+ COPY iris.script /tmp/iris.script
2217
23- # bringing the standard shell back
24- SHELL ["/bin/bash" , "-c" ]
18+ # run iris and initial
19+ RUN iris start IRIS \
20+ && iris session IRIS < /tmp/iris.script
Original file line number Diff line number Diff line change 1+ ; run installer to create namespace
2+ do $SYSTEM.OBJ.Load("/opt/irisapp/Installer.cls", "ck")
3+ set sc = ##class(App.Installer).setup()
4+
5+ zn "%SYS"
6+ Do ##class(Security.Users).UnExpireUserPasswords("*")
7+
8+ ; call your initial methods here
9+ halt
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments