@things-factory/operato-ecs 4.0.34 → 4.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +1 -45
- package/package.json +32 -32
package/Dockerfile
CHANGED
|
@@ -1,49 +1,5 @@
|
|
|
1
1
|
# Use an official ubuntu image
|
|
2
|
-
FROM
|
|
3
|
-
|
|
4
|
-
# Use an official node image
|
|
5
|
-
FROM node:14.18
|
|
6
|
-
|
|
7
|
-
ARG DEBIAN_FRONTEND=noninteractive
|
|
8
|
-
|
|
9
|
-
# Install the required packages
|
|
10
|
-
RUN apt-get update -o Acquire::CompressionTypes::Order::=gz
|
|
11
|
-
RUN apt-get upgrade -y
|
|
12
|
-
|
|
13
|
-
RUN echo "deb http://ftp.de.debian.org/debian stable main" > /etc/apt/sources.list
|
|
14
|
-
|
|
15
|
-
RUN apt-get update
|
|
16
|
-
|
|
17
|
-
RUN apt-get install -y --no-install-recommends apt-utils
|
|
18
|
-
RUN apt-get install -y chromium
|
|
19
|
-
RUN apt-get install -y libcups2-dev
|
|
20
|
-
RUN apt-get install -y libavahi-compat-libdnssd-dev
|
|
21
|
-
RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libcairo2 libcups2 libfontconfig1 libgdk-pixbuf2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libxss1 fonts-liberation libnss3 lsb-release xdg-utils libaio1
|
|
22
|
-
|
|
23
|
-
RUN apt update
|
|
24
|
-
RUN apt-get install -y ghostscript
|
|
25
|
-
RUN apt-get install -y curl
|
|
26
|
-
RUN apt-get install -y git
|
|
27
|
-
|
|
28
|
-
# install chrome
|
|
29
|
-
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
|
30
|
-
RUN dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install
|
|
31
|
-
RUN rm google-chrome-stable_current_amd64.deb
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
# make oracle path
|
|
36
|
-
RUN mkdir -p /opt/oracle
|
|
37
|
-
WORKDIR /opt/oracle
|
|
38
|
-
|
|
39
|
-
# download newest oracle cilent for connect to Oracle Database
|
|
40
|
-
RUN wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip && \
|
|
41
|
-
unzip instantclient-basiclite-linuxx64.zip && \
|
|
42
|
-
rm -f instantclient-basiclite-linuxx64.zip && \
|
|
43
|
-
cd /opt/oracle/instantclient* && \
|
|
44
|
-
rm -f *jdbc* *occi* *mysql* *mql1* *ipc1* *jar uidrvci genezi adrci && \
|
|
45
|
-
echo /opt/oracle/instantclient* > /etc/ld.so.conf.d/oracle-instantclient.conf &&\
|
|
46
|
-
ldconfig
|
|
2
|
+
FROM hatiolab/operato-env:latest
|
|
47
3
|
|
|
48
4
|
# Set the working directory to /app
|
|
49
5
|
WORKDIR /app
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-ecs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.38",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"migration:revert": "node ../../node_modules/typeorm/cli.js migration:revert",
|
|
34
34
|
"stop:dev": "kill $(lsof -t -i:3000,3001)",
|
|
35
35
|
"stop": "things-factory-stop operato-ecs",
|
|
36
|
-
"docker": "things-factory-dockerize hatiolab/operato-ecs:latest hatiolab/operato-ecs:$npm_package_version",
|
|
36
|
+
"docker": "things-factory-dockerize hatiolab/operato-ecs:latest hatiolab/operato-ecs:$npm_package_version linux/amd64",
|
|
37
37
|
"docker:push": "docker image push hatiolab/operato-ecs:latest && docker image push hatiolab/operato-ecs:$npm_package_version",
|
|
38
|
-
"docker:run": "docker run -p 4000:3000 hatiolab/operato-ecs:latest"
|
|
38
|
+
"docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-ecs:latest"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@operato/scene-chartjs": "^0.1.2",
|
|
@@ -47,38 +47,38 @@
|
|
|
47
47
|
"@operato/scene-switch": "^0.1.2",
|
|
48
48
|
"@operato/scene-table": "^0.1.2",
|
|
49
49
|
"@operato/scene-timer": "^0.1.2",
|
|
50
|
-
"@things-factory/api": "^4.0.
|
|
51
|
-
"@things-factory/apptool-ui": "^4.0.
|
|
52
|
-
"@things-factory/auth-ui": "^4.0.
|
|
53
|
-
"@things-factory/board-service": "^4.0.
|
|
54
|
-
"@things-factory/board-ui": "^4.0.
|
|
55
|
-
"@things-factory/context-ui": "^4.0.
|
|
56
|
-
"@things-factory/dashboard": "^4.0.
|
|
57
|
-
"@things-factory/export-ui": "^4.0.
|
|
58
|
-
"@things-factory/grist-ui": "^4.0.
|
|
59
|
-
"@things-factory/help": "^4.0.
|
|
60
|
-
"@things-factory/i18n-ui": "^4.0.
|
|
61
|
-
"@things-factory/integration-melsec": "^4.0.
|
|
62
|
-
"@things-factory/integration-modbus": "^4.0.
|
|
63
|
-
"@things-factory/integration-ui": "^4.0.
|
|
64
|
-
"@things-factory/lite-menu": "^4.0.
|
|
65
|
-
"@things-factory/more-ui": "^4.0.
|
|
66
|
-
"@things-factory/oauth2-client": "^4.0.
|
|
67
|
-
"@things-factory/print-ui": "^4.0.
|
|
68
|
-
"@things-factory/resource-ui": "^4.0.
|
|
69
|
-
"@things-factory/scene-data-transform": "^4.0.
|
|
70
|
-
"@things-factory/scene-form": "^4.0.
|
|
50
|
+
"@things-factory/api": "^4.0.38",
|
|
51
|
+
"@things-factory/apptool-ui": "^4.0.38",
|
|
52
|
+
"@things-factory/auth-ui": "^4.0.38",
|
|
53
|
+
"@things-factory/board-service": "^4.0.38",
|
|
54
|
+
"@things-factory/board-ui": "^4.0.38",
|
|
55
|
+
"@things-factory/context-ui": "^4.0.38",
|
|
56
|
+
"@things-factory/dashboard": "^4.0.38",
|
|
57
|
+
"@things-factory/export-ui": "^4.0.38",
|
|
58
|
+
"@things-factory/grist-ui": "^4.0.38",
|
|
59
|
+
"@things-factory/help": "^4.0.38",
|
|
60
|
+
"@things-factory/i18n-ui": "^4.0.38",
|
|
61
|
+
"@things-factory/integration-melsec": "^4.0.38",
|
|
62
|
+
"@things-factory/integration-modbus": "^4.0.38",
|
|
63
|
+
"@things-factory/integration-ui": "^4.0.38",
|
|
64
|
+
"@things-factory/lite-menu": "^4.0.38",
|
|
65
|
+
"@things-factory/more-ui": "^4.0.38",
|
|
66
|
+
"@things-factory/oauth2-client": "^4.0.38",
|
|
67
|
+
"@things-factory/print-ui": "^4.0.38",
|
|
68
|
+
"@things-factory/resource-ui": "^4.0.38",
|
|
69
|
+
"@things-factory/scene-data-transform": "^4.0.38",
|
|
70
|
+
"@things-factory/scene-form": "^4.0.38",
|
|
71
71
|
"@things-factory/scene-half-roundrect": "^4.0.9",
|
|
72
|
-
"@things-factory/scene-news-ticker": "^4.0.
|
|
73
|
-
"@things-factory/scene-restful": "^4.0.
|
|
74
|
-
"@things-factory/setting-base": "^4.0.
|
|
75
|
-
"@things-factory/setting-ui": "^4.0.
|
|
76
|
-
"@things-factory/shell": "^4.0.
|
|
77
|
-
"@things-factory/system-ui": "^4.0.
|
|
72
|
+
"@things-factory/scene-news-ticker": "^4.0.38",
|
|
73
|
+
"@things-factory/scene-restful": "^4.0.38",
|
|
74
|
+
"@things-factory/setting-base": "^4.0.38",
|
|
75
|
+
"@things-factory/setting-ui": "^4.0.38",
|
|
76
|
+
"@things-factory/shell": "^4.0.38",
|
|
77
|
+
"@things-factory/system-ui": "^4.0.38",
|
|
78
78
|
"jsmodbus": "^4.0.2"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@things-factory/builder": "^4.0.
|
|
81
|
+
"@things-factory/builder": "^4.0.38"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "c2b2638e6efec319d4024cedc8da513d560c126e"
|
|
84
84
|
}
|