File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11ARG IMAGE=intersystems/iris:2019.1.0S.111.0
2- ARG IMAGE=store/intersystems/iris:2019.1.0.511.0-community
3- ARG IMAGE=store/intersystems/iris:2019.2.0.107.0-community
4- # ARG IMAGE=intersystems/iris:2019.3.0.302.0
5- ARG IMAGE=store/intersystems/iris-community:2019.3.0.302.0
2+ ARG IMAGE=store/intersystems/iris-community:2019.3.0.309.0
63FROM $IMAGE
74
85USER root
96
10- WORKDIR /opt/app
11- RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/app
7+ WORKDIR /opt/irisapp
8+ RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp
129
1310USER irisowner
1411
15- COPY ./Installer.cls ./
16- COPY ./src/cls ./src/cls
17- # COPY --chown=irisowner ./src/dfi ./src/dfi
12+ COPY Installer.cls .
13+ COPY src src
14+ COPY irissession.sh /
15+ SHELL ["/irissession.sh" ]
1816
17+ RUN \
18+ do $SYSTEM.OBJ.Load("Installer.cls" , "ck" ) \
19+ set sc = ##class(App.Installer).setup()
1920
20- RUN iris start $ISC_PACKAGE_INSTANCENAME quietly && \
21- /bin/echo -e \
22- "zn \" %SYS\"\n " \
23- " Do ##class(Security.Users).UnExpireUserPasswords(\" *\" )\n " \
24- "zn \" USER\"\n " \
25- " Do \$ system.OBJ.Load(\" /opt/app/Installer.cls\" ,\" ck\" )\n " \
26- " Set sc = ##class(App.Installer).setup(, 3)\n " \
27- " If 'sc do \$ zu(4, \$ JOB, 1)\n " \
28- " halt" \
29- | iris session $ISC_PACKAGE_INSTANCENAME && \
30- /bin/echo -e "sys\n sys\n " \
31- | iris stop $ISC_PACKAGE_INSTANCENAME quietly
3221
3322CMD [ "-l" , "/usr/irissys/mgr/messages.log" ]
You can’t perform that action at this time.
0 commit comments