Skip to content

Commit fccb53c

Browse files
committed
also chown the copied files
1 parent ba63e71 commit fccb53c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN pip install --target workspace /opt/distro/*.whl -r requirements.txt
1515

1616
FROM python:3.12-alpine3.22@sha256:f6973b8f9395204414a7f25d99a50ba1c7306064771d11a8c2a848e9af3697a6
1717

18-
COPY --from=build /operator-build/workspace /autoinstrumentation
18+
COPY --chown=65534:65534 --from=build /operator-build/workspace /autoinstrumentation
1919

2020
# Use "nobody" user, to mimic the non-root "nonroot" user/group used in Dockerfile.
2121
USER 65534:65534

0 commit comments

Comments
 (0)