Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# TEMPORARY WORKAROUND:
# This removes the legacy Yarn APT repository to unblock Codespaces pre-builds
# failing with:
Comment thread
Akanshu-2u marked this conversation as resolved.
# EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
#
# Root cause: expired/invalid Yarn signing key in the default Microsoft
# devcontainer base image causing `apt-get update` to fail and abort
# devcontainer feature installation.
#
# Tracking:
# - https://2u-internal.atlassian.net/browse/BOMS-394
# - https://2u-internal.atlassian.net/browse/BOMS-402
#
# IMPORTANT: Revert this change after confirming the upstream image no longer
# includes the broken Yarn APT configuration.

FROM mcr.microsoft.com/devcontainers/universal:latest

# Fix: remove legacy Yarn apt repo that can break apt-get update with EXPKEYSIG
Expand Down
17 changes: 17 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
"hostRequirements": {
"cpus": 8
},

/* TEMPORARY WORKAROUND:
This removes the legacy Yarn APT repository to unblock Codespaces pre-builds
failing with:
EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>

Root cause: expired/invalid Yarn signing key in the default Microsoft
devcontainer base image causing `apt-get update` to fail and abort
devcontainer feature installation.

Tracking:
- https://2u-internal.atlassian.net/browse/BOMS-394
- https://2u-internal.atlassian.net/browse/BOMS-402

IMPORTANT: Revert this change after confirming the upstream image no longer
includes the broken Yarn APT configuration.*/

"build": {
"dockerfile": "Dockerfile"
},
Expand Down
Loading