Skip to content

Commit

Permalink
Use ECR for image (#195)
Browse files Browse the repository at this point in the history
* Use ECR for image

* Keep arg consistent across dockerfiles

Co-authored-by: Rory de Zoete <rdezoete@Rorys-Mac-Studio.fritz.box>
  • Loading branch information
zoete and Rory de Zoete authored Aug 19, 2022
1 parent 7e32bba commit 3f315a1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

#
Expand Down

0 comments on commit 3f315a1

Please sign in to comment.