File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ARG IMAGE=intersystemsdc/iris-community:2020.1.0.209.0-zpm
7
7
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.215.0-zpm
8
8
ARG IMAGE=intersystemsdc/iris-community:2020.2.0.196.0-zpm
9
9
ARG IMAGE=intersystemsdc/iris-community
10
- FROM $IMAGE
10
+ FROM $IMAGE as builder
11
11
12
12
USER root
13
13
41
41
# bringing the standard shell back
42
42
SHELL ["/bin/bash" , "-c" ]
43
43
CMD [ "-l" , "/usr/irissys/mgr/messages.log" ]
44
+
45
+ FROM $IMAGE as final
46
+
47
+ ADD --chown=${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} https://github.com/grongierisc/iris-docker-multi-stage-script/releases/latest/download/copy-data.py /irisdev/app/copy-data.py
48
+
49
+ RUN --mount=type=bind,source=/,target=/builder/root,from=builder \
50
+ cp -f /builder/root/usr/irissys/iris.cpf /usr/irissys/iris.cpf && \
51
+ python3 /irisdev/app/copy-data.py -c /usr/irissys/iris.cpf -d /builder/root/
You can’t perform that action at this time.
0 commit comments