This is an automated email from the ASF dual-hosted git repository.
rusackas 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 955db48c59 chore: Update to Dockerfile to get creating releases to
work (#29937)
955db48c59 is described below
commit 955db48c59f80ca673585973db52a52cc215301f
Author: Joe Li <[email protected]>
AuthorDate: Mon Aug 19 09:26:57 2024 -0700
chore: Update to Dockerfile to get creating releases to work (#29937)
---
RELEASING/Dockerfile.from_local_tarball | 7 +++++--
RELEASING/Dockerfile.make_tarball | 4 +++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/RELEASING/Dockerfile.from_local_tarball
b/RELEASING/Dockerfile.from_local_tarball
index 8f5605b25d..0a2613c182 100644
--- a/RELEASING/Dockerfile.from_local_tarball
+++ b/RELEASING/Dockerfile.from_local_tarball
@@ -34,8 +34,11 @@ RUN apt-get install -y build-essential libssl-dev \
# Install nodejs for custom build
# https://nodejs.org/en/download/package-manager/
-RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
- && apt-get install -y nodejs
+RUN set -eux; \
+ curl -sL https://deb.nodesource.com/setup_18.x | bash -; \
+ apt-get install -y nodejs; \
+ node --version;
+RUN if ! which npm; then apt-get install -y npm; fi
RUN mkdir -p /home/superset
RUN chown superset /home/superset
diff --git a/RELEASING/Dockerfile.make_tarball
b/RELEASING/Dockerfile.make_tarball
index 3a963723de..4e701afd17 100644
--- a/RELEASING/Dockerfile.make_tarball
+++ b/RELEASING/Dockerfile.make_tarball
@@ -17,7 +17,9 @@
FROM python:3.10-slim-bookworm
RUN apt-get update -y
-RUN apt-get install -y jq
+RUN apt-get install -y \
+ git \
+ jq
COPY make_tarball_entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]