Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
KevDevSha committed May 17, 2024
1 parent 3ca2fc0 commit 9417728
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ RUN if [ -n "$AWS_OFI_NCCL_VERSION" ] ; then \

RUN if [ -n "$MOFED_VERSION" ] ; then \
if [ "$TARGETARCH" = "amd64" ]; then \
MOFED_PACKAGE="x86_64"; \
else \
MOFED_PACKAGE="aarch64"; \
fi \
MOFED_PACKAGE="x86_64"; \
else \
MOFED_PACKAGE="aarch64"; \
fi \
mkdir -p /tmp/mofed && \
wget -nv -P /tmp/mofed http://content.mellanox.com/ofed/MLNX_OFED-${MOFED_VERSION}/MLNX_OFED_LINUX-${MOFED_VERSION}-${LINUX_DISTRO}${LINUX_DISTRO_VERSION}-${MOFED_PACKAGE}.tgz && \
tar -zxvf /tmp/mofed/MLNX_OFED_LINUX-${MOFED_VERSION}-${LINUX_DISTRO}${LINUX_DISTRO_VERSION}-${MOFED_PACKAGE}.tgz -C /tmp/mofed && \
Expand Down

0 comments on commit 9417728

Please sign in to comment.