HADOOP-17775. Remove JavaScript package from Docker environment. (#3182)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
parent
24b780820c
commit
99cff01e38
|
@ -148,26 +148,6 @@ ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
|
|||
# Install pylint and python-dateutil
|
||||
RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1
|
||||
|
||||
###
|
||||
# Install node.js 10.x for web UI framework (4.2.6 ships with Xenial)
|
||||
###
|
||||
# hadolint ignore=DL3008
|
||||
RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& npm install -g bower@1.8.8
|
||||
|
||||
###
|
||||
## Install Yarn 1.22.5 for web UI framework
|
||||
####
|
||||
RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get -q update \
|
||||
&& apt-get install -y --no-install-recommends yarn=1.22.5-1 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
###
|
||||
# Install hadolint
|
||||
####
|
||||
|
|
|
@ -131,26 +131,6 @@ ENV PATH "${PATH}:/opt/protobuf/bin"
|
|||
####
|
||||
RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1
|
||||
|
||||
###
|
||||
# Install node.js 10.x for web UI framework (4.2.6 ships with Xenial)
|
||||
###
|
||||
# hadolint ignore=DL3008
|
||||
RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& npm install -g bower@1.8.8
|
||||
|
||||
###
|
||||
## Install Yarn 1.22.5 for web UI framework
|
||||
####
|
||||
RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get -q update \
|
||||
&& apt-get install -y --no-install-recommends yarn=1.22.5-1 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
###
|
||||
# Avoid out of memory errors in builds
|
||||
###
|
||||
|
|
Loading…
Reference in New Issue