Skip to content

Commit 12c4086

Browse files
authored
Move to public ECR for DockerFile
In this commit, we are updating the Dockerfile to use python3.11 and rust1.75 images to build the ADOT Python Instrumentation image vended by this repo. This should be a no-op as a) the public ECRs should be mirrors of the DockerHub equivalent and b) these images are only used in the build process, not the final produced image (which is built from `scratch`).
1 parent 4f05255 commit 12c4086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# update the `PYTHONPATH` environment variable accordingly. Then in the second stage, copy the directory to `/autoinstrumentation`.
66

77
# Stage 1: Install ADOT Python in the /operator-build folder
8-
FROM python:3.11 AS build
8+
FROM public.ecr.aws/docker/library/python:3.11 AS build
99

1010
WORKDIR /operator-build
1111

@@ -21,7 +21,7 @@ RUN sed -i "/opentelemetry-exporter-otlp-proto-grpc/d" ./aws-opentelemetry-distr
2121
RUN mkdir workspace && pip install --target workspace ./aws-opentelemetry-distro
2222

2323
# Stage 2: Build the cp-utility binary
24-
FROM rust:1.75 as builder
24+
FROM public.ecr.aws/docker/library/rust:1.75 as builder
2525

2626
WORKDIR /usr/src/cp-utility
2727
COPY ./tools/cp-utility .

0 commit comments

Comments
 (0)