Skip to content

Commit d599a48

Browse files
kurowskiclaude
andcommitted
Remove stale Yarn apt source from base image
The base image (mcr.microsoft.com/devcontainers/php:8.2) ships with a Yarn apt repository whose GPG key (62D54FD4003F6525) can no longer be verified. This causes apt-get update to fail during devcontainer feature installation (e.g. sshd), breaking container builds. The Yarn apt source is unused — nothing in this image installs yarn from apt — so it is safe to remove. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ce8453d commit d599a48

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM mcr.microsoft.com/devcontainers/php:8.2
22

3+
# Remove stale Yarn apt source from base image (expired GPG key breaks apt-get update)
4+
RUN rm -f /etc/apt/sources.list.d/yarn.list
5+
36
# Change default umask and add user to web group so we can share write permission on web files
47
RUN sed -i 's/^UMASK\s*022/UMASK 002/' /etc/login.defs
58
RUN usermod -aG www-data vscode

0 commit comments

Comments
 (0)