@abtnode/core 1.16.32-beta-04a5da00 → 1.16.32-beta-4d47ae7f

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.
@@ -63,6 +63,7 @@ async function parseDockerOptionsFromPm2(input, nodeInfo) {
63
63
  dockerEnv.BLOCKLET_CACHE_DIR = path.join(baseDir, 'cache');
64
64
  dockerEnv.BLOCKLET_DOCKER_NAME = name;
65
65
  dockerEnv.BLOCKLET_HOST = 'host.docker.internal';
66
+ dockerEnv.USING_DOCKER = 'true';
66
67
  const envVars = stringifyEnvFile(dockerEnv);
67
68
 
68
69
  const dockerEnvFile = path.join(options.env.BLOCKLET_DATA_DIR, 'docker-env');
@@ -123,14 +124,16 @@ async function parseDockerOptionsFromPm2(input, nodeInfo) {
123
124
  --cpus="${dockerEnv.BLOCKLET_DOCKER_CPUS}" \
124
125
  --memory="${dockerEnv.BLOCKLET_DOCKER_MEMORY}" \
125
126
  --env-file ${dockerEnvFile} \
126
- --read-only --cap-drop=ALL --security-opt no-new-privileges \
127
+ --read-only --cap-drop=ALL \
127
128
  ${networkHost} \
128
129
  ${DOCKER_IMAGE_NAME} \
129
130
  sh -c \
130
131
  '${socatCommand} \
131
132
  cd ${dockerEnv.BLOCKLET_APP_DIR} && npm install && ${runScript}'`;
132
133
 
133
- options.env = {};
134
+ options.env = {
135
+ USING_DOCKER: 'true',
136
+ };
134
137
 
135
138
  return options;
136
139
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.32-beta-04a5da00",
6
+ "version": "1.16.32-beta-4d47ae7f",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,19 +19,19 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@abtnode/analytics": "1.16.32-beta-04a5da00",
23
- "@abtnode/auth": "1.16.32-beta-04a5da00",
24
- "@abtnode/certificate-manager": "1.16.32-beta-04a5da00",
25
- "@abtnode/constant": "1.16.32-beta-04a5da00",
26
- "@abtnode/cron": "1.16.32-beta-04a5da00",
27
- "@abtnode/logger": "1.16.32-beta-04a5da00",
28
- "@abtnode/models": "1.16.32-beta-04a5da00",
29
- "@abtnode/queue": "1.16.32-beta-04a5da00",
30
- "@abtnode/rbac": "1.16.32-beta-04a5da00",
31
- "@abtnode/router-provider": "1.16.32-beta-04a5da00",
32
- "@abtnode/static-server": "1.16.32-beta-04a5da00",
33
- "@abtnode/timemachine": "1.16.32-beta-04a5da00",
34
- "@abtnode/util": "1.16.32-beta-04a5da00",
22
+ "@abtnode/analytics": "1.16.32-beta-4d47ae7f",
23
+ "@abtnode/auth": "1.16.32-beta-4d47ae7f",
24
+ "@abtnode/certificate-manager": "1.16.32-beta-4d47ae7f",
25
+ "@abtnode/constant": "1.16.32-beta-4d47ae7f",
26
+ "@abtnode/cron": "1.16.32-beta-4d47ae7f",
27
+ "@abtnode/logger": "1.16.32-beta-4d47ae7f",
28
+ "@abtnode/models": "1.16.32-beta-4d47ae7f",
29
+ "@abtnode/queue": "1.16.32-beta-4d47ae7f",
30
+ "@abtnode/rbac": "1.16.32-beta-4d47ae7f",
31
+ "@abtnode/router-provider": "1.16.32-beta-4d47ae7f",
32
+ "@abtnode/static-server": "1.16.32-beta-4d47ae7f",
33
+ "@abtnode/timemachine": "1.16.32-beta-4d47ae7f",
34
+ "@abtnode/util": "1.16.32-beta-4d47ae7f",
35
35
  "@arcblock/did": "1.18.135",
36
36
  "@arcblock/did-auth": "1.18.135",
37
37
  "@arcblock/did-ext": "^1.18.135",
@@ -42,12 +42,12 @@
42
42
  "@arcblock/pm2-events": "^0.0.5",
43
43
  "@arcblock/validator": "^1.18.135",
44
44
  "@arcblock/vc": "1.18.135",
45
- "@blocklet/constant": "1.16.32-beta-04a5da00",
46
- "@blocklet/env": "1.16.32-beta-04a5da00",
47
- "@blocklet/meta": "1.16.32-beta-04a5da00",
48
- "@blocklet/resolver": "1.16.32-beta-04a5da00",
49
- "@blocklet/sdk": "1.16.32-beta-04a5da00",
50
- "@blocklet/store": "1.16.32-beta-04a5da00",
45
+ "@blocklet/constant": "1.16.32-beta-4d47ae7f",
46
+ "@blocklet/env": "1.16.32-beta-4d47ae7f",
47
+ "@blocklet/meta": "1.16.32-beta-4d47ae7f",
48
+ "@blocklet/resolver": "1.16.32-beta-4d47ae7f",
49
+ "@blocklet/sdk": "1.16.32-beta-4d47ae7f",
50
+ "@blocklet/store": "1.16.32-beta-4d47ae7f",
51
51
  "@did-space/client": "^0.5.32",
52
52
  "@fidm/x509": "^1.2.1",
53
53
  "@ocap/mcrypto": "1.18.135",
@@ -105,5 +105,5 @@
105
105
  "jest": "^29.7.0",
106
106
  "unzipper": "^0.10.11"
107
107
  },
108
- "gitHead": "f609e3593366aace895c936b00f9623002e29b32"
108
+ "gitHead": "740b8032aa02e19b888bf6a257840089696613ef"
109
109
  }