File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 7
7
"username" : " _SYSTEM" ,
8
8
"password" : " SYS" ,
9
9
"ns" : " REGISTRY" ,
10
- "port " : 52773 ,
11
- "addCategory " : true ,
10
+ "host " : " localhost " ,
11
+ "port " : 52774 ,
12
12
"links" : {
13
13
"Swagger spec" : " http://${host}:${port}/registry/_spec" ,
14
14
"All Packages" : " http://${host}:${port}/registry/packages/-/all"
15
15
}
16
+ },
17
+ "objectscript.export" : {
18
+ "folder" : " src" ,
19
+ "addCategory" : true
16
20
}
17
21
}
Original file line number Diff line number Diff line change 1
1
FROM containers.intersystems.com/intersystems/iris-community:2022.1.0.164.0
2
2
3
+ WORKDIR /opt/registry
4
+
3
5
USER root
4
6
5
- WORKDIR /opt/zpm
6
- RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} .
7
+ RUN chown irisowner:irisowner .
7
8
8
9
USER irisowner
9
10
10
- COPY Installer.cls SQLPriv.xml ./
11
- COPY src src
12
- COPY zpm-registry.yaml /usr/irissys/
13
- RUN VERSION=$(grep -oP '(?<=<Version>).*?(?=</Version>)' module.xml) && \
14
- sed -i "s/Parameter VERSION.*/Parameter VERSION = \" ${VERSION}\" ;/" ./src/CLS/ZPM/Registry.cls
11
+ COPY --chown=irisowner:irisowner . .
15
12
16
- RUN \
13
+ RUN \
14
+ VERSION=$(sed -n 's|.*<Version>\( .*\) </Version>.*|\1 |p' module.xml | head -1) && \
15
+ sed -i 's|^Parameter VERSION .*$|Parameter VERSION = "' "$VERSION" '";|g' \
16
+ ./src/cls/ZPM/Registry.cls && \
17
17
iris start ${ISC_PACKAGE_INSTANCENAME} && \
18
18
/bin/echo -e "" \
19
19
" zn \" %SYS\" " \
You can’t perform that action at this time.
0 commit comments