From f0055edfa6c6c50b1b7415af9ae5815d319ef885 Mon Sep 17 00:00:00 2001 From: Rory de Zoete <33318916+zoete@users.noreply.github.com> Date: Fri, 19 Aug 2022 11:00:15 +0200 Subject: [PATCH] Use ECR for image (#195) * Use ECR for image * Keep arg consistent across dockerfiles Co-authored-by: Rory de Zoete --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 11681c9cb16..77648e21bfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ -# Allow specifiyng the different compute-tools tag, so we were able to always use -# the locally built image. -ARG COMPUTE_TOOLS_TAG=latest +# Allow specifiyng different compute-tools tag and image repo, so we are +# able to use different images +ARG REPOSITORY=369495373322.dkr.ecr.eu-central-1.amazonaws.com +ARG IMAGE=compute-tools +ARG TAG=latest # # Image with pre-built tools # -FROM neondatabase/compute-tools:$COMPUTE_TOOLS_TAG AS compute-deps +FROM $REPOSITORY/$IMAGE:$TAG AS compute-deps # Only to get ready compute_ctl binary as deppendency #