Fix for dev image Dockerfile gpg error #15326
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Motivation and Context
Building and starting the dev container isn't working right now.
Line 6 of the Dockerfile is producing an error because of an expired key in the base image. Yet the repository in question isn't needed for that step and it gets added later in the existing Dockerfile anyways, so the added line of code just removes the repository to avoid the error being thrown.
Building and starting the dev container is working again after this fix.
Types of changes
Checklist
PR Type
Bug fix
Description
Fixed a GPG error in the dev image Dockerfile by removing an unnecessary repository.
Ensured the dev container builds and starts successfully.
Changes walkthrough 📝
Dockerfile
Fix GPG error by removing unused repositoryscripts/dev-image/Dockerfile
google-chrome.listfromsources.list.d.errors.