mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-14 17:01:02 +02:00
Reduce the number of bazel jobs to allow building docker image on laptops
Change-Id: Id1e161011bdb3a23183b092ba14415035b633c5b
This commit is contained in:
parent
5538d9e6ef
commit
b42f4dd24f
@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y zip python git bzip2 build-essential &&
|
||||
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 && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user