From b9b5ca33259f8c77fb5bc2caec5324c39f194b50 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 16 Oct 2024 15:54:57 +0100 Subject: [PATCH] switch base image to ecr --- APIReference/Dockerfile.tpl | 2 +- Accounts/Dockerfile.tpl | 2 +- AdminDashboard/Dockerfile.tpl | 2 +- App/Dockerfile.tpl | 2 +- Copilot/Dockerfile.tpl | 2 +- Dashboard/Dockerfile.tpl | 2 +- Docs/Dockerfile.tpl | 2 +- E2E/Dockerfile.tpl | 2 +- Haraka/Dockerfile.tpl | 2 +- Home/Dockerfile.tpl | 2 +- Ingestor/Dockerfile.tpl | 2 +- IsolatedVM/Dockerfile.tpl | 2 +- Probe/Dockerfile.tpl | 2 +- StatusPage/Dockerfile.tpl | 2 +- TestServer/Dockerfile.tpl | 2 +- Tests/Dockerfile.tpl | 2 +- Worker/Dockerfile.tpl | 2 +- Workflow/Dockerfile.tpl | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/APIReference/Dockerfile.tpl b/APIReference/Dockerfile.tpl index 150efc6414..cf8bc9f07f 100644 --- a/APIReference/Dockerfile.tpl +++ b/APIReference/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.2-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.2-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Accounts/Dockerfile.tpl b/Accounts/Dockerfile.tpl index d0c40b2801..0deb030104 100644 --- a/Accounts/Dockerfile.tpl +++ b/Accounts/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/AdminDashboard/Dockerfile.tpl b/AdminDashboard/Dockerfile.tpl index 8c091581cd..3d0a464360 100644 --- a/AdminDashboard/Dockerfile.tpl +++ b/AdminDashboard/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/App/Dockerfile.tpl b/App/Dockerfile.tpl index 9bb2208c86..adefd9eb47 100644 --- a/App/Dockerfile.tpl +++ b/App/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.2-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.2-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Copilot/Dockerfile.tpl b/Copilot/Dockerfile.tpl index 9fbe16e2d8..427d2ea74b 100644 --- a/Copilot/Dockerfile.tpl +++ b/Copilot/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:22.3.0 +FROM public.ecr.aws/docker/library/node:22.3.0 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Dashboard/Dockerfile.tpl b/Dashboard/Dockerfile.tpl index 0b13838152..181efebb86 100644 --- a/Dashboard/Dockerfile.tpl +++ b/Dashboard/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Docs/Dockerfile.tpl b/Docs/Dockerfile.tpl index adde52d7c1..b0afc09652 100644 --- a/Docs/Dockerfile.tpl +++ b/Docs/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.2-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.2-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/E2E/Dockerfile.tpl b/E2E/Dockerfile.tpl index bbf599ccf6..326286b3a9 100644 --- a/E2E/Dockerfile.tpl +++ b/E2E/Dockerfile.tpl @@ -6,7 +6,7 @@ # Pull base image nodejs image. # Note: Alpine Images doesnt work with Playwright. -FROM node:21.6 +FROM public.ecr.aws/docker/library/node:21.6 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Haraka/Dockerfile.tpl b/Haraka/Dockerfile.tpl index cfc1c60199..570fb35512 100644 --- a/Haraka/Dockerfile.tpl +++ b/Haraka/Dockerfile.tpl @@ -1,4 +1,4 @@ -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global diff --git a/Home/Dockerfile.tpl b/Home/Dockerfile.tpl index 4dc2c8355b..6273e7e4f2 100644 --- a/Home/Dockerfile.tpl +++ b/Home/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Ingestor/Dockerfile.tpl b/Ingestor/Dockerfile.tpl index e395188b87..8a0382341c 100644 --- a/Ingestor/Dockerfile.tpl +++ b/Ingestor/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/IsolatedVM/Dockerfile.tpl b/IsolatedVM/Dockerfile.tpl index a032904130..a014d81692 100644 --- a/IsolatedVM/Dockerfile.tpl +++ b/IsolatedVM/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.6-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.6-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Probe/Dockerfile.tpl b/Probe/Dockerfile.tpl index 8b8ffc46c5..2912ecddf4 100644 --- a/Probe/Dockerfile.tpl +++ b/Probe/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:22.9 +FROM public.ecr.aws/docker/library/node:22.9 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/StatusPage/Dockerfile.tpl b/StatusPage/Dockerfile.tpl index ca248e4907..293f7d4581 100644 --- a/StatusPage/Dockerfile.tpl +++ b/StatusPage/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/TestServer/Dockerfile.tpl b/TestServer/Dockerfile.tpl index 2c98a32b7e..09085b9903 100644 --- a/TestServer/Dockerfile.tpl +++ b/TestServer/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Tests/Dockerfile.tpl b/Tests/Dockerfile.tpl index 1518205242..978acba359 100644 --- a/Tests/Dockerfile.tpl +++ b/Tests/Dockerfile.tpl @@ -1,4 +1,4 @@ -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Worker/Dockerfile.tpl b/Worker/Dockerfile.tpl index 85e4365b73..33ed9356c2 100644 --- a/Worker/Dockerfile.tpl +++ b/Worker/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.2-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.2-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5 diff --git a/Workflow/Dockerfile.tpl b/Workflow/Dockerfile.tpl index ff05e5632f..5c0ffbd6e9 100644 --- a/Workflow/Dockerfile.tpl +++ b/Workflow/Dockerfile.tpl @@ -3,7 +3,7 @@ # # Pull base image nodejs image. -FROM node:21.7.3-alpine3.18 +FROM public.ecr.aws/docker/library/node:21.7.3-alpine3.18 RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global RUN npm config set fetch-retries 5