From 65c54e4979342604bd750137c1a26efdf249486a Mon Sep 17 00:00:00 2001 From: Ping Xiang <64551395+pxaws@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:29:43 -0700 Subject: [PATCH] Use images from public ECR Use images from public ECR --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .