chore: Update to Dockerfile to get creating releases to work (#29937)

This commit is contained in:
Joe Li 2024-08-19 09:26:57 -07:00 committed by GitHub
parent 5bd6e92cb8
commit 955db48c59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View File

@ -34,8 +34,11 @@ RUN apt-get install -y build-essential libssl-dev \
# Install nodejs for custom build # Install nodejs for custom build
# https://nodejs.org/en/download/package-manager/ # https://nodejs.org/en/download/package-manager/
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \ RUN set -eux; \
&& apt-get install -y nodejs 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 mkdir -p /home/superset
RUN chown superset /home/superset RUN chown superset /home/superset

View File

@ -17,7 +17,9 @@
FROM python:3.10-slim-bookworm FROM python:3.10-slim-bookworm
RUN apt-get update -y 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 COPY make_tarball_entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]