Skip to content

Commit

Permalink
fix: copy entire extension dir
Browse files Browse the repository at this point in the history
  • Loading branch information
LayneHaber committed Sep 21, 2024
1 parent 00116bd commit ddefb32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/cartographer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ ENV COMMIT_HASH ${COMMIT_HASH:-unknown}
WORKDIR ${LAMBDA_TASK_ROOT}
COPY --from=build /tmp/build ${LAMBDA_TASK_ROOT}
COPY --from=build /usr/local/bin/dbmate /usr/local/bin/dbmate
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/extensions/ /opt/extensions
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/. /opt/

CMD ["node_modules/datadog-lambda-js/dist/handler.handler"]
2 changes: 1 addition & 1 deletion docker/lighthouse/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ENV COMMIT_HASH ${COMMIT_HASH:-unknown}
# ----- Copy files required at runtime by the app -----
WORKDIR ${LAMBDA_TASK_ROOT}
COPY --from=build /tmp/build ${LAMBDA_TASK_ROOT}
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/extensions/ /opt/extensions
COPY --from=public.ecr.aws/datadog/lambda-extension:latest /opt/. /opt/

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

Expand Down

0 comments on commit ddefb32

Please sign in to comment.