HADOOP-17775. Remove JavaScript package from Docker environment. (#3182)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
Masatake Iwasaki 2021-07-07 17:49:19 +09:00 committed by GitHub
parent 24b780820c
commit 99cff01e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 40 deletions

View File

@ -148,26 +148,6 @@ ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
# Install pylint and python-dateutil # Install pylint and python-dateutil
RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1 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 # Install hadolint
#### ####

View File

@ -131,26 +131,6 @@ ENV PATH "${PATH}:/opt/protobuf/bin"
#### ####
RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1 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 # Avoid out of memory errors in builds
### ###