From daf920d4b4f3788b753d8eec470d763afcffd459 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Wed, 17 Feb 2016 11:33:34 -0800 Subject: [PATCH] Pass -j to correct command Passing -j to ./configure produces an error --- compiler/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/Dockerfile b/compiler/Dockerfile index 759afbff1e..e25f28568b 100644 --- a/compiler/Dockerfile +++ b/compiler/Dockerfile @@ -4,12 +4,12 @@ RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \ git fetch && \ git checkout v3.0.0-beta-2 && \ ./autogen.sh && \ - CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 -j$(nproc) && \ - make clean && make && make install"' + CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 && \ + make clean && make -j$(nproc) && make -j$(nproc) install"' RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \ - CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 -j$(nproc) && \ - make clean && make && make install"' + CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 && \ + make clean && make -j$(nproc) && make -j$(nproc) install"' ENV CXXFLAGS=-I/protobuf-32/include \ LDFLAGS="-L/protobuf-32/lib -L/protobuf-64/lib"