From 9c2b9d050222e900c60745d3b06e0ab5931b558a Mon Sep 17 00:00:00 2001 From: Shawn Reuland Date: Tue, 18 Jun 2024 00:16:57 -0700 Subject: [PATCH] fixed copy reference to core image --- Dockerfile.core | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile.core b/Dockerfile.core index 7d4f02c..1962363 100644 --- a/Dockerfile.core +++ b/Dockerfile.core @@ -1,9 +1,11 @@ ARG CORE_IMAGE= -ARG CORE_IMAGE_BIN_PATH= -FROM $CORE_IMAGE +FROM $CORE_IMAGE as stellar-core + +FROM ubuntu +ARG CORE_IMAGE_BIN_PATH= -COPY $CORE_IMAGE_BIN_PATH /usr/local/bin/stellar-core +COPY --from=stellar-core ${CORE_IMAGE_BIN_PATH} /usr/local/bin/stellar-core