Skip to content

Commit 09b8eb7

Browse files
committed
dashboard: set ARM native deps as optional in package.json
1 parent ea753f8 commit 09b8eb7

File tree

3 files changed

+534
-3
lines changed

3 files changed

+534
-3
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ COPY --chown=node:node dashboard/package.json /zeppelin/dashboard
1616

1717
WORKDIR /zeppelin
1818
RUN npm install
19-
RUN npm install @rollup/rollup-linux-arm64-gnu lightningcss-linux-arm64-gnu @tailwindcss/oxide-linux-arm64-gnu
2019

2120
COPY --chown=node:node . /zeppelin
2221

dashboard/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,10 @@
3636
},
3737
"browserslist": [
3838
"last 2 Chrome versions"
39-
]
39+
],
40+
"optionalDependencies": {
41+
"@rollup/rollup-linux-arm64-gnu": "^4.43.0",
42+
"@tailwindcss/oxide-linux-arm64-gnu": "^4.1.10",
43+
"lightningcss-linux-arm64-gnu": "^1.30.1"
44+
}
4045
}

0 commit comments

Comments
 (0)