From 4a5bfdc14feb35d65280cc828e76ba5c6123d4b6 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Wed, 15 May 2024 14:11:13 +0200 Subject: [PATCH] Using docker image from AWS --- docker-pdk-serve.cmd | 1 + docker-pdk.cmd | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-pdk-serve.cmd b/docker-pdk-serve.cmd index 54dfecc..8f9dadb 100644 --- a/docker-pdk-serve.cmd +++ b/docker-pdk-serve.cmd @@ -1,3 +1,4 @@ @echo off +aws ecr get-login-password --region eu-west-1 --profile peppol-dev | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com docker stop pdk-serve docker run --rm --pull=always -i -d --name pdk-serve -v %CD%:/src -p8000:8000 public.ecr.aws/openpeppol/pdk:latest pdk serve diff --git a/docker-pdk.cmd b/docker-pdk.cmd index 5ad7bef..3c7091e 100644 --- a/docker-pdk.cmd +++ b/docker-pdk.cmd @@ -1,2 +1,3 @@ @echo off -docker run --rm --pull=always -i -v %CD%:/src public.ecr.aws/openpeppol/pdk:latest pdk %* +aws ecr get-login-password --region eu-west-1 --profile peppol-dev | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com +docker run --rm --pull=always -i -v %CD%:/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk %*