Skip to content

Commit ddefb32

Browse files
committed
fix: copy entire extension dir
1 parent 00116bd commit ddefb32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/cartographer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ ENV COMMIT_HASH ${COMMIT_HASH:-unknown}
6666
WORKDIR ${LAMBDA_TASK_ROOT}
6767
COPY --from=build /tmp/build ${LAMBDA_TASK_ROOT}
6868
COPY --from=build /usr/local/bin/dbmate /usr/local/bin/dbmate
69-
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/extensions/ /opt/extensions
69+
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/. /opt/
7070

7171
CMD ["node_modules/datadog-lambda-js/dist/handler.handler"]

docker/lighthouse/lambda/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ENV COMMIT_HASH ${COMMIT_HASH:-unknown}
7777
# ----- Copy files required at runtime by the app -----
7878
WORKDIR ${LAMBDA_TASK_ROOT}
7979
COPY --from=build /tmp/build ${LAMBDA_TASK_ROOT}
80-
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/extensions/ /opt/extensions
80+
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/. /opt/
8181

8282
# This user is created in the base image with uid and gid = 1000.
8383

0 commit comments

Comments
 (0)