Skip to content

Commit c3f81ed

Browse files
committed
use sh syntax
1 parent 00d5edc commit c3f81ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.complex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ RUN \
99
curl && \
1010
echo "**** grab rclone ****" && \
1111
mkdir -p /root-layer && \
12-
if [[ $(uname -m) == "x86_64" ]]; then \
12+
if [ $(uname -m) = "x86_64" ]; then \
1313
echo "Downloading x86_64 tarball" && \
1414
curl -o \
1515
/root-layer/rclone.deb -L \
1616
"https://downloads.rclone.org/v1.47.0/rclone-v1.47.0-linux-amd64.deb"; \
17-
elif [[ $(uname -m) == "aarch64" ]]; then \
17+
elif [ $(uname -m) = "aarch64" ]; then \
1818
echo "Downloading aarch64 tarball" && \
1919
curl -o \
2020
/root-layer/rclone.deb -L \

0 commit comments

Comments
 (0)