Skip to content

Commit

Permalink
fix(dockerfile): remove redundant habanalabs installation steps
Browse files Browse the repository at this point in the history
This commit resolves an issue where the habanalabs installation step was
unnecessary repeated multiple times in the Dockerfile.

Signed-off-by: vprashar2929 <[email protected]>
  • Loading branch information
vprashar2929 committed Sep 3, 2024
1 parent 71b7c63 commit aa66ada
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ WORKDIR /workspace
COPY . .

RUN make tidy-vendor format
RUN if [[ "$INSTALL_HABANA" == "true" ]]; then \
rpm -Uvh https://vault.habana.ai/artifactory/rhel/9/9.2/habanalabs-firmware-tools-1.15.1-15.el9.x86_64.rpm --nodeps; \
echo /usr/lib/habanalabs > /etc/ld.so.conf.d/habanalabs.conf; \
ldconfig; \
fi

RUN make build

Expand Down

0 comments on commit aa66ada

Please sign in to comment.