From cd097a55d204e5d8dc2dec6b3e1327f637b0548d Mon Sep 17 00:00:00 2001 From: Ben Davis Date: Wed, 23 Oct 2024 10:31:17 -0400 Subject: [PATCH] dockerfile: report unsupported TARGETPLATFORM --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 05baf7bf..8d222441 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:20.04 AS gitbase ARG TARGETPLATFORM -RUN if [ "${TARGETPLATFORM}" != "linux/amd64" ]; then echo "Only linux/amd64 is supported, use '--platform linux/amd64'"; exit 1; fi +RUN if [ "${TARGETPLATFORM}" != "linux/amd64" ]; then echo "TARGETPLATFORM '${TARGETPLATFORM}' is not supported, use '--platform linux/amd64'"; exit 1; fi RUN apt update && apt install -y ssh RUN apt install -y git