diff --git a/Dockerfile b/Dockerfile index df41146f..33e0b8ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Install ADOT nodejs instrumentation in the /operator-build folder -FROM node:20 AS build +FROM public.ecr.aws/docker/library/node:20 AS build # Build the ADOT JS SDK Tarball: aws-aws-distro-opentelemetry-node-autoinstrumentation-x.y.z.tgz WORKDIR /adot-js-build @@ -18,7 +18,7 @@ RUN npm install aws-aws-distro-opentelemetry-node-autoinstrumentation-$(node -p RUN npm install # Stage 2: Build the cp-utility binary -FROM rust:1.75 as builder +FROM public.ecr.aws/docker/library/rust:1.75 as builder WORKDIR /usr/src/cp-utility COPY ./tools/cp-utility . diff --git a/contract-tests/images/applications/aws-sdk/Dockerfile b/contract-tests/images/applications/aws-sdk/Dockerfile index c4f3c62e..1867b3cc 100644 --- a/contract-tests/images/applications/aws-sdk/Dockerfile +++ b/contract-tests/images/applications/aws-sdk/Dockerfile @@ -1,6 +1,5 @@ # Use an official Node.js runtime as the base image -FROM node:20-alpine -#FROM node:20 +FROM public.ecr.aws/docker/library/node:20-alpine # Set the working directory inside the container WORKDIR /aws-sdk diff --git a/contract-tests/images/applications/http/Dockerfile b/contract-tests/images/applications/http/Dockerfile index 70a52dea..9dad7e06 100644 --- a/contract-tests/images/applications/http/Dockerfile +++ b/contract-tests/images/applications/http/Dockerfile @@ -1,6 +1,5 @@ # Use an official Node.js runtime as the base image -FROM node:20-alpine -#FROM node:20 +FROM public.ecr.aws/docker/library/node:20-alpine # Set the working directory inside the container WORKDIR /http diff --git a/contract-tests/images/applications/mongodb/Dockerfile b/contract-tests/images/applications/mongodb/Dockerfile index 968c8257..a1d192aa 100644 --- a/contract-tests/images/applications/mongodb/Dockerfile +++ b/contract-tests/images/applications/mongodb/Dockerfile @@ -1,5 +1,5 @@ # Use an official Node.js runtime as the base image -FROM node:20-alpine +FROM public.ecr.aws/docker/library/node:20-alpine # Set the working directory inside the container WORKDIR /mongodb diff --git a/contract-tests/images/applications/mongoose/Dockerfile b/contract-tests/images/applications/mongoose/Dockerfile index ee6a8a79..e8fd855e 100644 --- a/contract-tests/images/applications/mongoose/Dockerfile +++ b/contract-tests/images/applications/mongoose/Dockerfile @@ -1,5 +1,5 @@ # Use an official Node.js runtime as the base image -FROM node:20-alpine +FROM public.ecr.aws/docker/library/node:20-alpine #FROM node:20 # Set the working directory inside the container diff --git a/contract-tests/images/applications/mysql2/Dockerfile b/contract-tests/images/applications/mysql2/Dockerfile index 2e6ff46d..f24939a5 100644 --- a/contract-tests/images/applications/mysql2/Dockerfile +++ b/contract-tests/images/applications/mysql2/Dockerfile @@ -1,5 +1,5 @@ # Use an official Node.js runtime as the base image -FROM node:20-alpine +FROM public.ecr.aws/docker/library/node:20-alpine # Set the working directory inside the container WORKDIR /mysql2