From b0b2781e574e8c1a0a593848d063963d118ea97c Mon Sep 17 00:00:00 2001 From: Peter <24580777+pharr117@users.noreply.github.com> Date: Sun, 9 Jun 2024 22:21:35 -0400 Subject: [PATCH] Patch bad reference to clone key variable in dockerfile/cosmos (#252) --- 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;\