-
I am not able to understand how the Dockerfile is able to run the command |
Beta Was this translation helpful? Give feedback.
Answered by
mx-psi
Jun 18, 2021
Replies: 1 comment 1 reply
-
The Makefile task first builds the binary and copies it to the opentelemetry-collector/Makefile Lines 175 to 176 in 3f5c718 otelcol image
and finally it gets copied to the last stage
(this is a multi-stage build)
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jrcamp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Makefile task first builds the binary and copies it to the
cmd/otelcol
folderopentelemetry-collector/Makefile
Lines 175 to 176 in 3f5c718
otelcol
imageopentelemetry-collector/cmd/otelcol/Dockerfile
Line 5 in 3f5c718
opentelemetry-collector/cmd/otelcol/Dockerfile
Line 16 in 3f5c718