There are some issues in stage2 when installing apt packages due
to the use of an old apt cache. This commit fixes it by doing apt
update before apt install.
Change-Id: I539155280a2caae65442c7f0805f3232b505612d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
RUN python3 -m easy_install pip==21.3.1
RUN pip install tox==3.24.5
-RUN DEBIAN_FRONTEND=noninteractive apt-get -y install wget build-essential dh-make \
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
+ DEBIAN_FRONTEND=noninteractive apt-get -y install wget build-essential dh-make \
openjdk-8-jdk maven
RUN update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64