-
Notifications
You must be signed in to change notification settings - Fork 19
update new relic #2759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
update new relic #2759
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,15 @@ | ||||||
| FROM mcr.microsoft.com/vscode/devcontainers/python:3.12-bookworm | ||||||
|
|
||||||
| ## Ensure we can verify the Yarn repo on Debian/Bookworm | ||||||
| ## Use Yarn's official pubkey to avoid expired/rotated key issues. | ||||||
| RUN rm -f /etc/apt/sources.list.d/yarn.list || true && \ | ||||||
| apt-get update && \ | ||||||
| apt-get install -y --no-install-recommends gnupg dirmngr curl ca-certificates && \ | ||||||
| mkdir -p /etc/apt/keyrings && \ | ||||||
| curl -fsSL "https://dl.yarnpkg.com/debian/pubkey.gpg" | gpg --dearmor --yes -o /etc/apt/keyrings/yarn-archive-keyring.gpg && \ | ||||||
| echo "deb [signed-by=/etc/apt/keyrings/yarn-archive-keyring.gpg] https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \ | ||||||
| apt-get update && apt-get clean -y && rm -rf /var/lib/apt/lists/* | ||||||
|
||||||
| apt-get update && apt-get clean -y && rm -rf /var/lib/apt/lists/* | |
| apt-get clean -y && rm -rf /var/lib/apt/lists/* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build currently trusts whatever key is returned by the URL at build time. To reduce supply-chain risk, verify the downloaded key before installing it (e.g., check the expected fingerprint in the Dockerfile and fail if it doesn’t match).