You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/05/07 16:46:49 UTC
[airflow] branch master updated: Attempt to upgrade to newer Node
version to build UI. (#15718)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 46d6278 Attempt to upgrade to newer Node version to build UI. (#15718)
46d6278 is described below
commit 46d62782e85ff54dd9dc96e1071d794309497983
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri May 7 18:46:31 2021 +0200
Attempt to upgrade to newer Node version to build UI. (#15718)
We've started to receive deprecation warnings for Node 10 and
this PR attempts to upgrade to recommended Node 14.
Fixes: #15713
---
Dockerfile | 2 +-
Dockerfile.ci | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 16ac2e2..23b365d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -104,7 +104,7 @@ ARG DEV_APT_DEPS="\
yarn"
ARG ADDITIONAL_DEV_APT_DEPS=""
ARG DEV_APT_COMMAND="\
- curl --fail --location https://deb.nodesource.com/setup_10.x | bash - \
+ curl --fail --location https://deb.nodesource.com/setup_14.x | bash - \
&& curl https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - > /dev/null \
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list"
ARG ADDITIONAL_DEV_APT_COMMAND="echo"
diff --git a/Dockerfile.ci b/Dockerfile.ci
index 04f8edf..73938d6 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -45,7 +45,7 @@ RUN apt-get update \
ARG ADDITIONAL_DEV_APT_DEPS=""
ARG DEV_APT_COMMAND="\
- curl --fail --location https://deb.nodesource.com/setup_10.x | bash - \
+ curl --fail --location https://deb.nodesource.com/setup_14.x | bash - \
&& curl https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - > /dev/null \
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list"
ARG ADDITIONAL_DEV_APT_COMMAND=""