Skip to content

Commit b507936

Browse files
committed
fix: added comment for temporary workaround for .devcontainer build
1 parent e807e20 commit b507936

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# TEMPORARY WORKAROUND:
2+
# This removes the legacy Yarn APT repository to unblock Codespaces pre-builds
3+
# failing with:
4+
# EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
5+
#
6+
# Root cause: expired/invalid Yarn signing key in the default Microsoft
7+
# devcontainer base image causing `apt-get update` to fail and abort
8+
# devcontainer feature installation.
9+
#
10+
# Tracking:
11+
# - https://2u-internal.atlassian.net/browse/BOMS-394
12+
# - https://2u-internal.atlassian.net/browse/BOMS-402
13+
#
14+
# IMPORTANT: Revert this change after confirming the upstream image no longer
15+
# includes the broken Yarn APT configuration.
16+
117
FROM mcr.microsoft.com/devcontainers/universal:latest
218

319
# Fix: remove legacy Yarn apt repo that can break apt-get update with EXPKEYSIG

.devcontainer/devcontainer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22
"hostRequirements": {
33
"cpus": 8
44
},
5+
6+
/* TEMPORARY WORKAROUND:
7+
This removes the legacy Yarn APT repository to unblock Codespaces pre-builds
8+
failing with:
9+
EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
10+
11+
Root cause: expired/invalid Yarn signing key in the default Microsoft
12+
devcontainer base image causing `apt-get update` to fail and abort
13+
devcontainer feature installation.
14+
15+
Tracking:
16+
- https://2u-internal.atlassian.net/browse/BOMS-394
17+
- https://2u-internal.atlassian.net/browse/BOMS-402
18+
19+
IMPORTANT: Revert this change after confirming the upstream image no longer
20+
includes the broken Yarn APT configuration.*/
21+
522
"build": {
623
"dockerfile": "Dockerfile"
724
},

0 commit comments

Comments
 (0)