Run make with as many cores as available
diff --git a/compiler/Dockerfile b/compiler/Dockerfile
index df92927..1c4bb49 100644
--- a/compiler/Dockerfile
+++ b/compiler/Dockerfile
@@ -4,11 +4,11 @@
     git fetch && \
     git checkout v3.0.0-beta-1 && \
     ./autogen.sh && \
-    CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 && \
+    CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 -j$(nproc) && \
     make clean && make && make install"'
 
 RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \
-    CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 && \
+    CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 -j$(nproc) && \
     make clean && make && make install"'
 
 ENV CXXFLAGS=-I/protobuf-32/include \