Update Dockerfile to run apt update before apt install 31/14231/1 v12.0.8
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 22 Feb 2024 10:27:50 +0000 (11:27 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 22 Feb 2024 10:27:50 +0000 (11:27 +0100)
Change-Id: I9b39a0070cab905623e4faceff2362d6aeae8493
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Dockerfile
devops-stages/stage-test.sh

index 026d471..3846ee0 100644 (file)
@@ -42,7 +42,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
 RUN python3 -m easy_install pip==21.3.1
 RUN pip install tox==3.24.5
 
-RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
+    DEBIAN_FRONTEND=noninteractive apt-get -y install \
     libcurl4-openssl-dev \
     libssl-dev \
     wget
index 7d00a00..993823a 100755 (executable)
@@ -13,5 +13,5 @@
 # limitations under the License.
 
 echo "Launching tox"
-tox --parallel=auto
+TOX_PARALLEL_NO_SPINNER=1 tox --parallel=auto