From 911fbac279146d365a21c9d91bd393c5ba446728 Mon Sep 17 00:00:00 2001 From: pharr117 Date: Sun, 9 Jun 2024 18:09:17 -0400 Subject: [PATCH] Patch bad reference to clone key variable in dockerfile/cosmos --- dockerfile/cosmos/Dockerfile | 2 +- dockerfile/cosmos/native.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfile/cosmos/Dockerfile b/dockerfile/cosmos/Dockerfile index 4d20346..2cb0669 100644 --- a/dockerfile/cosmos/Dockerfile +++ b/dockerfile/cosmos/Dockerfile @@ -14,7 +14,7 @@ RUN if [ "${TARGETARCH}" = "arm64" ] && [ "${BUILDARCH}" != "arm64" ]; then\ ARG CLONE_KEY -RUN if [ ! -z "CLONE_KEY" ]; then\ +RUN if [ ! -z "${CLONE_KEY}" ]; then\ mkdir -p ~/.ssh;\ echo "${CLONE_KEY}" | base64 -d > ~/.ssh/id_ed25519;\ chmod 600 ~/.ssh/id_ed25519;\ diff --git a/dockerfile/cosmos/native.Dockerfile b/dockerfile/cosmos/native.Dockerfile index 11d9174..96c1f26 100644 --- a/dockerfile/cosmos/native.Dockerfile +++ b/dockerfile/cosmos/native.Dockerfile @@ -5,7 +5,7 @@ RUN apk add --update --no-cache curl make git libc-dev bash gcc linux-headers eu ARG CLONE_KEY -RUN if [ ! -z "CLONE_KEY" ]; then\ +RUN if [ ! -z "${CLONE_KEY}" ]; then\ mkdir -p ~/.ssh;\ echo "${CLONE_KEY}" | base64 -d > ~/.ssh/id_ed25519;\ chmod 600 ~/.ssh/id_ed25519;\