Reduce the number of bazel jobs to allow building docker image on laptops
Change-Id: Id1e161011bdb3a23183b092ba14415035b633c5b
diff --git a/Dockerfile b/Dockerfile
index ecd46e8..710f4f0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,7 +23,7 @@
export ONOS_ROOT=/src/onos && \
ln -s /usr/lib/jvm/java-8-oracle/bin/jar /etc/alternatives/jar && \
ln -s /etc/alternatives/jar /usr/bin/jar && \
- ~/bin/bazel build onos --verbose_failures --jobs 4 && \
+ ~/bin/bazel build onos --verbose_failures --jobs 2 && \
mkdir -p /src/tar && \
cd /src/tar && \
tar -xf /src/onos/bazel-bin/onos.tar.gz --strip-components=1 && \