diff --git a/tools/packaging/static-build/qemu/Dockerfile b/tools/packaging/static-build/qemu/Dockerfile index 7fa291590..d5dece8e2 100644 --- a/tools/packaging/static-build/qemu/Dockerfile +++ b/tools/packaging/static-build/qemu/Dockerfile @@ -12,6 +12,12 @@ ARG QEMU_TARBALL ARG PREFIX WORKDIR /root/qemu + +# CACHE_TIMEOUT: date to invalid cache, if the date changes the image will be rebuild +# This is required to keep build dependencies with security fixes. +ARG CACHE_TIMEOUT +RUN echo "$CACHE_TIMEOUT" + RUN apt-get update && apt-get upgrade -y RUN apt-get --no-install-recommends install -y \ apt-utils \