There is random connection issues in the network.
When using docker for testing, adding the
"--network=host" flag makes it much more stable.
Signed-off-by: mikarautakumpu <mika.rautakumpu@nokia.com>
Change-Id: Ib1882d69c16880c927bc9610f8bf33bfc1fc5eef
patch "${dib_file}" "${dib_patch}"
fi
-docker build -f $scriptdir/docker-context/Dockerfile-dib -t dib $scriptdir/docker-context
-docker build -f $scriptdir/docker-context/Dockerfile-buildtools -t buildtools $scriptdir/docker-context
+docker build --network=host -f $scriptdir/docker-context/Dockerfile-dib -t dib $scriptdir/docker-context
+docker build --network=host -f $scriptdir/docker-context/Dockerfile-buildtools -t buildtools $scriptdir/docker-context
# Create manifest RPM
$LIBDIR/create_manifest_rpm.sh