Skip to content

Commit e879b2d

Browse files
authored
use public ecr images (#94)
*Issue #, if available:* *Description of changes:* Replace the docker hub images with public ECR images. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 5799696 commit e879b2d

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Install ADOT nodejs instrumentation in the /operator-build folder
2-
FROM node:20 AS build
2+
FROM public.ecr.aws/docker/library/node:20 AS build
33

44
# Build the ADOT JS SDK Tarball: aws-aws-distro-opentelemetry-node-autoinstrumentation-x.y.z.tgz
55
WORKDIR /adot-js-build
@@ -18,7 +18,7 @@ RUN npm install aws-aws-distro-opentelemetry-node-autoinstrumentation-$(node -p
1818
RUN npm install
1919

2020
# Stage 2: Build the cp-utility binary
21-
FROM rust:1.75 as builder
21+
FROM public.ecr.aws/docker/library/rust:1.75 as builder
2222

2323
WORKDIR /usr/src/cp-utility
2424
COPY ./tools/cp-utility .

contract-tests/images/applications/aws-sdk/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Use an official Node.js runtime as the base image
2-
FROM node:20-alpine
3-
#FROM node:20
2+
FROM public.ecr.aws/docker/library/node:20-alpine
43

54
# Set the working directory inside the container
65
WORKDIR /aws-sdk

contract-tests/images/applications/http/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Use an official Node.js runtime as the base image
2-
FROM node:20-alpine
3-
#FROM node:20
2+
FROM public.ecr.aws/docker/library/node:20-alpine
43

54
# Set the working directory inside the container
65
WORKDIR /http

contract-tests/images/applications/mongodb/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Node.js runtime as the base image
2-
FROM node:20-alpine
2+
FROM public.ecr.aws/docker/library/node:20-alpine
33

44
# Set the working directory inside the container
55
WORKDIR /mongodb

contract-tests/images/applications/mongoose/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Node.js runtime as the base image
2-
FROM node:20-alpine
2+
FROM public.ecr.aws/docker/library/node:20-alpine
33
#FROM node:20
44

55
# Set the working directory inside the container

contract-tests/images/applications/mysql2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Node.js runtime as the base image
2-
FROM node:20-alpine
2+
FROM public.ecr.aws/docker/library/node:20-alpine
33

44
# Set the working directory inside the container
55
WORKDIR /mysql2

0 commit comments

Comments
 (0)