HADOOP-17509. Parallelize building of dependencies (#2669)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
parent
18978f2e20
commit
6c891c0dd4
@ -131,6 +131,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
|
||||
@ -183,7 +184,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
|
||||
|
@ -135,6 +135,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