From 3d2a39464bc3917d0b5ff4a88bb2fbdc0acb6ae6 Mon Sep 17 00:00:00 2001 From: Marlon Saglia Date: Thu, 15 Aug 2024 13:10:08 +0200 Subject: [PATCH] feat(docker): use latest almalinux version and add numpy to dependencies --- docker/Dockerfile.almalinux8 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.almalinux8 b/docker/Dockerfile.almalinux8 index c2a63d4ab..bc28516ea 100644 --- a/docker/Dockerfile.almalinux8 +++ b/docker/Dockerfile.almalinux8 @@ -1,6 +1,6 @@ # Copyright Vespa.ai. All rights reserved. -ARG BASE_IMAGE=docker.io/almalinux:8 +ARG BASE_IMAGE=almalinux:8 ARG VESPA_BASE_IMAGE=vespa # Vespa install @@ -22,7 +22,7 @@ RUN dnf install -y gcc-c++ python3-devel && \ FROM $VESPA_BASE_IMAGE AS systemtest -ENV LANG en_US.UTF-8 +ENV LANG=en_US.UTF-8 USER root @@ -60,7 +60,7 @@ RUN dnf install -y dnf-plugins-core && \ (source /opt/rh/gcc-toolset/enable && gem install ffi libxml-ruby) && \ pip3 install --no-cache-dir --upgrade pip && \ pip3 install --no-cache-dir awscli && \ - (source /opt/rh/gcc-toolset/enable && pip3 install --no-cache-dir xgboost scikit-learn) && \ + (source /opt/rh/gcc-toolset/enable && pip3 install --no-cache-dir numpy xgboost scikit-learn) && \ echo ": \${JAVA_HOME:=$(dirname $(dirname $(readlink -f /usr/bin/java)))}" > /etc/mavenrc RUN --mount=type=bind,target=/context-root,source=.,ro \ @@ -111,4 +111,3 @@ RUN --mount=type=bind,target=/context-root,source=./,ro \ rm -f $VESPA_HOME/.m2/settings.xml ENTRYPOINT ["bash", "-lc", "source /opt/rh/gcc-toolset/enable && /opt/vespa-systemtests/lib/node_server.rb $NODE_SERVER_OPTS"] -