Skip to content

Commit

Permalink
fix: dockerfile syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jan 20, 2024
1 parent 051c386 commit 80fa472
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile.nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ RUN \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs &&\
npm i -g yarn &&\
wget -qO- https://install.speedtest.net/app/cli/ookla-speedtest-1.1.1-linux-x86_64.tgz \
| tar xmoz -C /usr/bin speedtest; &&\
if [ "$TARGETPLATFORM" = "linux/amd64" ] || [ "$(uname -m)" = "x86_64" ]; \
then \
/bin/echo ">> installing dependencies (amd64)" &&\
Expand All @@ -33,12 +31,12 @@ RUN \
then \
/bin/echo ">> installing dependencies (arm64)" &&\
wget -qO- https://install.speedtest.net/app/cli/ookla-speedtest-1.1.1-linux-aarch64.tgz \
| tar xmoz -C /usr/bin speedtest \
| tar xmoz -C /usr/bin speedtest; \
elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; \
then \
/bin/echo ">> installing dependencies (arm/v7)" &&\
wget -qO- https://install.speedtest.net/app/cli/ookla-speedtest-1.1.1-linux-armhf.tgz \
| tar xmoz -C /usr/bin speedtest \
| tar xmoz -C /usr/bin speedtest; \
else /bin/echo "Unsupported platform"; exit 1; \
fi &&\
/bin/echo -e ">> clean-up" &&\
Expand Down

0 comments on commit 80fa472

Please sign in to comment.