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 %*