static-build: upgrade the container before building qemu and nemu

Upgrade the container before building qemu and nemu in order to install
the latest fixes for the CVEs.

fixes #676

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes 2019-08-14 17:57:26 +00:00
parent decb9de7df
commit c79a01b3f9
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ ARG VIRTIOFSD
ARG PREFIX
WORKDIR /root/nemu
RUN apt-get update
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
autoconf \
automake \

View File

@ -6,7 +6,7 @@ ARG QEMU_VERSION
ARG PREFIX
WORKDIR /root/qemu
RUN apt-get update
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
autoconf \
automake \