HADOOP-17509. Parallelize building of dependencies (#2669)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 6c891c0dd4
)
This commit is contained in:
parent
5e09d38b25
commit
23ada04dac
@ -126,6 +126,7 @@ RUN mkdir -p /opt/protobuf-src \
|
||||
&& tar xzf /opt/protobuf.tar.gz --strip-components 1 -C /opt/protobuf-src \
|
||||
&& cd /opt/protobuf-src \
|
||||
&& ./configure --prefix=/opt/protobuf \
|
||||
&& make "-j$(nproc)" \
|
||||
&& make install \
|
||||
&& cd /root \
|
||||
&& rm -rf /opt/protobuf-src
|
||||
@ -192,7 +193,7 @@ RUN mkdir -p /opt/isa-l-src \
|
||||
&& cd /opt/isa-l-src \
|
||||
&& ./autogen.sh \
|
||||
&& ./configure \
|
||||
&& make \
|
||||
&& make "-j$(nproc)" \
|
||||
&& make install \
|
||||
&& cd /root \
|
||||
&& rm -rf /opt/isa-l-src
|
||||
|
@ -117,6 +117,7 @@ RUN mkdir -p /opt/protobuf-src \
|
||||
&& tar xzf /opt/protobuf.tar.gz --strip-components 1 -C /opt/protobuf-src \
|
||||
&& cd /opt/protobuf-src \
|
||||
&& ./configure --prefix=/opt/protobuf \
|
||||
&& make "-j$(nproc)" \
|
||||
&& make install \
|
||||
&& cd /root \
|
||||
&& rm -rf /opt/protobuf-src
|
||||
|
Loading…
Reference in New Issue
Block a user