This is an automated email from the ASF dual-hosted git repository.
craigrueda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new baf713aad5 fix(dockefile): broken docker image (#25251)
baf713aad5 is described below
commit baf713aad57d2b47827f53857208faf4677f8e2b
Author: Hugo Sjöberg <[email protected]>
AuthorDate: Mon Sep 11 13:40:49 2023 -0700
fix(dockefile): broken docker image (#25251)
---
Dockerfile | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Dockerfile b/Dockerfile
index 754f23d5bd..4558e27f85 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,6 +25,14 @@ ARG BUILDPLATFORM=${BUILDPLATFORM:-amd64}
FROM --platform=${BUILDPLATFORM} node:16-slim AS superset-node
ARG NPM_BUILD_CMD="build"
+
+RUN apt-get update -q \
+ && apt-get install -yq --no-install-recommends \
+ python3 \
+ make \
+ gcc \
+ g++
+
ENV BUILD_CMD=${NPM_BUILD_CMD} \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
# NPM ci first, as to NOT invalidate previous steps except for when
package.json changes