Skip to content

Commit 17cb3a7

Browse files
committed
fixed #29
1 parent ff2e28b commit 17cb3a7

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Dockerfile

+9-7
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,23 @@ ARG IMAGE=store/intersystems/iris-community:2019.4.0.379.0
55
ARG IMAGE=store/intersystems/iris-community:2020.1.0.197.0
66
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.209.0-zpm
77
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.215.0-zpm
8-
ARG IMAGE=intersystemsdc/iris-community
8+
ARG IMAGE=intersystemsdc/iris-community:latest
99
FROM $IMAGE
1010

11-
USER root
11+
USER irisowner
1212

1313
WORKDIR /opt/irisapp
14-
RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp
15-
16-
USER irisowner
1714

1815
COPY Installer.cls .
1916
COPY src src
2017
COPY build-for-zpm build-for-zpm
21-
COPY irissession.sh /
22-
SHELL ["/irissession.sh"]
18+
COPY irissession.sh .
19+
20+
USER root
21+
22+
RUN chmod +x ./irissession.sh
23+
USER irisowner
24+
SHELL ["./irissession.sh"]
2325

2426
RUN \
2527
do $SYSTEM.OBJ.Load("Installer.cls", "ck") \

0 commit comments

Comments
 (0)