Skip to content

Commit 5c758e9

Browse files
committed
Update dockerfile comments
1 parent 2445d24 commit 5c758e9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# one init container will be created to copy all the content in `/autoinstrumentation` directory to app's container. Then
55
# update the `PYTHONPATH` environment variable accordingly. Then in the second stage, copy the directory to `/autoinstrumentation`.
66

7-
# Stage 1: Build the /autoinstrumentation folder
7+
# Stage 1: Install ADOT Python in the /operator-build folder
88
FROM python:3.11 AS build
99

1010
WORKDIR /operator-build
@@ -51,7 +51,7 @@ RUN if [ $TARGETARCH = "amd64" ]; then export ARCH="x86_64" ; \
5151
&& cargo test --target ${ARCH}-unknown-linux-musl \
5252
&& cargo install --target ${ARCH}-unknown-linux-musl --path . --root .
5353

54-
# Stage 3: Copy /autoinstrumentation and cp to scratch image
54+
# Stage 3: Build the distribution image by copying the THIRD-PARTY-LICENSES, the custom built cp command from stage 2, and the installed ADOT Python from stage 1 to their respective destinations
5555
FROM scratch
5656

5757
# Required to copy attribute files to distributed docker images

ignore-words.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)