Skip to content

Commit 4553f39

Browse files
authored
Add attribution file to docker image (#121)
Copying this file is a requirement for attribution purposes. Testing done: ``` $ docker image build -t adot-python . $ docker image save adot-python:latest > adot-python.tar $ mkdir adot-python $ tar -xvf adot-python.tar -C adot-python $ cd adot-python $ cd bd0c3feb8990f55dba5845497597307fe38ba411510a520c6ea4738896db66aa $ tar -xvf layer.tar $ ls > json layer.tar THIRD-PARTY-LICENSES VERSION # Confirmed `THIRD-PARTY-LICENSES` is the same file. ``` 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 02538d3 commit 4553f39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ RUN mkdir workspace && pip install --target workspace ./aws-opentelemetry-distro
1919

2020
FROM public.ecr.aws/amazonlinux/amazonlinux:minimal
2121

22+
# Required to copy attribute files to distributed docker images
23+
ADD THIRD-PARTY-LICENSES ./THIRD-PARTY-LICENSES
24+
2225
COPY --from=build /operator-build/workspace /autoinstrumentation
2326

2427
RUN chmod -R go+r /autoinstrumentation

0 commit comments

Comments
 (0)