From 190443b74aef37761fcab225630fcb741172c46b Mon Sep 17 00:00:00 2001 From: Dmitry Sergeev Date: Wed, 15 May 2024 18:42:26 +0400 Subject: [PATCH] WIP --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 99b3ce1..c4d36f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ARG TARGETPLATFORM RUN echo "Building BUILDPLATFORM: '${BUILDPLATFORM}', TARGETPLATFORM: '$TARGETPLATFORM'"; \ export GOOS=$(echo $TARGETPLATFORM | cut -d / -f1); \ export GOARCH=$(echo $TARGETPLATFORM | cut -d / -f2); \ - if [[ "$GOARCH" = "arm" ]]; then \ + if [ "$GOARCH" = "arm" ]; then \ export GOARCH="arm"; \ export GOARM=$(echo $TARGETPLATFORM | cut -d / -f3 | sed 's/v//g'); \ fi; \