File tree Expand file tree Collapse file tree 4 files changed +18
-29
lines changed Expand file tree Collapse file tree 4 files changed +18
-29
lines changed Original file line number Diff line number Diff line change 2
2
"files.associations" : {
3
3
4
4
"Dockerfile*" : " dockerfile" ,
5
+ "iris.script" : " objectscript"
5
6
},
6
7
"objectscript.conn" :{
7
8
"ns" : " IRISAPP" ,
8
9
"active" : true ,
10
+ "username" :" _SYSTEM" ,
11
+ "password" : " SYS" ,
9
12
"docker-compose" : {
10
13
"service" : " iris" ,
11
14
"internalPort" : 52773
Original file line number Diff line number Diff line change 1
1
ARG IMAGE=store/intersystems/iris-community:2020.1.0.204.0
2
2
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.209.0-zpm
3
3
ARG 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
4
6
FROM $IMAGE
5
7
6
8
USER root
7
9
8
10
WORKDIR /opt/irisapp
9
11
RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp
10
- COPY irissession.sh /
11
- RUN chmod +x /irissession.sh
12
-
13
12
USER ${ISC_PACKAGE_MGRUSER}
14
13
15
14
COPY Installer.cls .
16
15
COPY 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
22
17
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