Skip to content

Commit

Permalink
update vespa installation
Browse files Browse the repository at this point in the history
  • Loading branch information
wanliAlex authored Mar 28, 2024
2 parents ecf401b + eaae8be commit 718d378
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,11 @@ RUN bash scripts/install_onnx_gpu_for_amd.sh && \
ADD scripts/start_vespa.sh /usr/local/bin/start_vespa.sh

# Install Vespa
RUN echo "install_weak_deps=False" >> /etc/dnf/dnf.conf && \
dnf -y install \
dnf-plugins-core \
epel-release && \
dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/vespa/repo/epel-8/group_vespa-vespa-epel-8.repo && \
dnf config-manager --enable powertools && \
dnf -y install vespa && \
dnf remove -y dnf-plugins-core && \
dnf clean all && \
rm -rf /var/cache/dnf
RUN dnf config-manager \
--add-repo https://raw.githubusercontent.com/vespa-engine/vespa/master/dist/vespa-engine.repo &&\
dnf config-manager --enable powertools &&\
dnf install -y epel-release &&\
dnf install -y vespa

# Set Envs for Vespa
ENV PATH="/opt/vespa/bin:/opt/vespa-deps/bin:${PATH}"
Expand Down

0 comments on commit 718d378

Please sign in to comment.