This change introduces a Dockerfile to the devcontainer configuration that removes the broken Yarn repository from `/etc/apt/sources.list.d/`. This prevents `apt-get update` from failing due to an expired or missing GPG key for the Yarn repository. Fixes #3487
8 lines
343 B
Docker
8 lines
343 B
Docker
FROM mcr.microsoft.com/devcontainers/jekyll
|
|
|
|
# Fix: Remove the broken Yarn repository from the apt sources.
|
|
# This prevents 'apt-get update' from failing due to the missing GPG key.
|
|
# (Yarn is already provided by the dev container features/nvm, so this system repo is unnecessary)
|
|
# See issue #3487
|
|
RUN rm -f /etc/apt/sources.list.d/yarn.list
|