Skip to content

Commit 0ef71ad

Browse files
authored
Merge branch 'master' into master
2 parents 53da2d0 + 272a86d commit 0ef71ad

4 files changed

Lines changed: 9 additions & 34 deletions

File tree

Dockerfile

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,17 @@
1-
FROM intersystems/iris:2019.1.0S.111.0
2-
3-
# version DeepSeeWeb
4-
ARG DSW_VERSION=2.1.32
5-
1+
FROM store/intersystems/iris:2019.1.0.511.0-community
62

73
WORKDIR /opt/app
84

95
COPY ./src/ ./src/
10-
COPY dswinstaller.cls ./
11-
12-
13-
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
14-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
15-
curl
166

177
RUN mkdir -p /tmp/deps \
188

199
&& cd /tmp/deps \
2010

21-
# Download MDX2JSON, just master branch from github as archive
22-
&& curl -L -q https://github.com/eduard93/Cache-MDX2JSON/archive/master.tar.gz | tar xvfzC - . \
23-
24-
# Download DeepSeeWeb from releases
25-
&& curl -L -q https://github.com/intersystems-ru/DeepSeeWeb/releases/download/${DSW_VERSION}/DSW.Installer.${DSW_VERSION}.xml -o deepseeweb.xml \
11+
&& wget -q https://pm.community.intersystems.com/packages/zpm/latest/installer -O zpm.xml \
2612

2713
# Download globals data
28-
&& curl -s https://api.github.com/repos/intersystems-community/dc-analytics/releases/latest \
14+
&& wget -q -O - https://api.github.com/repos/intersystems-community/dc-analytics/releases/latest \
2915
| egrep 'http.*DCAnalytics_globals.*gz' \
3016
| cut -d : -f 2,3 \
3117
| tr -d '"' \
@@ -40,13 +26,10 @@ RUN iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyId=sys,sys && \
4026
" Do ##class(Security.System).Get(,.p)\n" \
4127
" Set p(\"AutheEnabled\")=\$zb(p(\"AutheEnabled\"),16,7)\n" \
4228
" Do ##class(Security.System).Modify(,.p)\n" \
43-
" set ^%SYS(\"CSP\",\"DefaultFileCharset\")=\"utf-8\"\n" \
44-
# " do \$system.OBJ.Load(\"/tmp/deps/Cache-MDX2JSON-master/MDX2JSON/Installer.cls.xml\",\"ck\")\n" \
45-
# " do \$system.OBJ.Load(\"/tmp/deps/deepseeweb.xml\",\"ck\")\n" \
46-
" s sc=##class(DSWMDX2JSON.Installer).setup()\n" \
47-
" If 'sc do \$zu(4, \$JOB, 1)\n" \
48-
# "do CreateDatabase^%SYS.SQLSEC(\"DCANALYTICS\",\"\",,0)\n" \
49-
" zn \"DCANALYTICS\"\n" \
29+
" Do \$system.OBJ.Load(\"/tmp/deps/zpm.xml\", \"ck\")" \
30+
" do CreateDatabase^%SYS.SQLSEC(\"DCANALYTICS\",\"\",,0)\n" \
31+
" zn \"DCANALYTICS\"" \
32+
" zpm \"install dsw\"" \
5033
" do \$system.OBJ.ImportDir(\"/opt/app/src\",,\"ck\",,1)\n" \
5134
" do ##class(Community.Utils).setup(\"/opt/app/globals.xml\")" \
5235
" halt" \
@@ -56,7 +39,6 @@ RUN iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyId=sys,sys && \
5639

5740
COPY ./other/dcanalytics.json /usr/irissys/csp/dsw/configs/
5841

59-
COPY ./buildiknow.sh ./
6042
COPY ./fixoverlay.sh ./
6143

62-
CMD [ "-l", "/usr/irissys/mgr/messages.log", "-a", "/opt/app/buildiknow.sh", "-b", "/opt/app/fixoverlay.sh" ]
44+
CMD [ "-b", "/opt/app/fixoverlay.sh" ]

buildiknow.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ services:
66
ports:
77
- 52774:52773
88
volumes:
9-
- ~/iris.key:/usr/irissys/mgr/iris.key
109
- ./src:/usr/src

src/cls/Community/Utils.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ClassMethod UpdateCubes(verbose = 1) As %Status
7272
set cube=""
7373
for {
7474
set cube=$Order(list(cube))
75-
if (cube="POST") continue
75+
#; if (cube="POST") continue
7676
quit:cube=""
7777

7878
Set st1 = ##class(%DeepSee.Utils).%BuildCube(cube, $$$YES, verbose)

0 commit comments

Comments
 (0)