@le-space/node 0.1.6 → 0.1.8
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/index.js
CHANGED
|
@@ -2300,6 +2300,7 @@ function createRootfsBuildPlan(contract, options) {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
function rootfsBuildShellEnv(plan) {
|
|
2302
2302
|
return {
|
|
2303
|
+
PROJECT_DIR: plan.projectDir,
|
|
2303
2304
|
OUT_DIR: plan.outDir,
|
|
2304
2305
|
ROOTFS_CONTRACT_FILE: plan.contractPath,
|
|
2305
2306
|
ROOTFS_BUILD_DRIVER: plan.driver,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@le-space/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Node and GitHub Actions adapters for shared Aleph tooling.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@le-space/core": "0.1.
|
|
20
|
-
"@le-space/shared-types": "0.1.
|
|
21
|
-
"@le-space/rootfs": "0.1.
|
|
19
|
+
"@le-space/core": "0.1.8",
|
|
20
|
+
"@le-space/shared-types": "0.1.8",
|
|
21
|
+
"@le-space/rootfs": "0.1.8",
|
|
22
22
|
"ethers": "^6.15.0"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -107,12 +107,13 @@ build_with_docker() {
|
|
|
107
107
|
|
|
108
108
|
docker run --rm --privileged --platform linux/amd64 \
|
|
109
109
|
-e LIBGUESTFS_BACKEND=direct \
|
|
110
|
-
-e ROOTFS_CONTRACT_FILE=/workspace/
|
|
110
|
+
-e ROOTFS_CONTRACT_FILE=/workspace/shared-rootfs/input-rootfs-contract.json \
|
|
111
111
|
-e OUT_DIR=/workspace/universal-connectivity/go-peer/aleph/dist-rootfs \
|
|
112
112
|
-e ROOTFS_IMAGE_SIZE="${ROOTFS_IMAGE_SIZE}" \
|
|
113
113
|
-e PROJECT_DIR=/workspace/universal-connectivity \
|
|
114
114
|
-v "${PROJECT_DIR}:/workspace/universal-connectivity" \
|
|
115
115
|
-v "${SCRIPT_DIR}:/workspace/shared-rootfs" \
|
|
116
|
+
-v "${ROOTFS_CONTRACT_FILE}:/workspace/shared-rootfs/input-rootfs-contract.json:ro" \
|
|
116
117
|
-w /workspace/shared-rootfs \
|
|
117
118
|
uc-go-peer-rootfs-builder:local \
|
|
118
119
|
/bin/bash /workspace/shared-rootfs/build-rootfs-image.sh
|