Skip to content

Commit

Permalink
feat(docker): use latest almalinux version and add numpy to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
esolitos authored and gitbutler-client committed Aug 15, 2024
1 parent 819b69c commit 3d2a394
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docker/Dockerfile.almalinux8
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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"]

0 comments on commit 3d2a394

Please sign in to comment.