mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-26 19:23:36 +00:00
static-build: do not use cache to build docker images
Do not use cache to build the docker images that build static qemu and nemu. The latest version of the packages must be installed, since they may include the fixes for theirs CVEs. Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
@@ -76,6 +76,7 @@ https_proxy="${https_proxy:-}"
|
||||
prefix="${prefix:-"/opt/kata"}"
|
||||
|
||||
sudo docker build \
|
||||
--no-cache \
|
||||
--build-arg http_proxy="${http_proxy}" \
|
||||
--build-arg https_proxy="${https_proxy}" \
|
||||
--build-arg NEMU_REPO="${nemu_repo}" \
|
||||
|
@@ -41,6 +41,7 @@ https_proxy="${https_proxy:-}"
|
||||
prefix="${prefix:-"/opt/kata"}"
|
||||
|
||||
sudo docker build \
|
||||
--no-cache \
|
||||
--build-arg http_proxy="${http_proxy}" \
|
||||
--build-arg https_proxy="${https_proxy}" \
|
||||
--build-arg QEMU_REPO="${qemu_repo}" \
|
||||
|
Reference in New Issue
Block a user