-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (23 loc) · 1000 Bytes
/
Dockerfile
File metadata and controls
26 lines (23 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# TEMPORARY WORKAROUND:
# This removes the legacy Yarn APT repository to unblock Codespaces pre-builds
# failing with:
# GPG error: https://dl.yarnpkg.com/debian
# stable InRelease: The following signatures were invalid:
# EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
#
# 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
RUN rm -f /etc/apt/sources.list.d/yarn.list \
/etc/apt/sources.list.d/yarn*.list \
&& apt-get update \
&& rm -rf /var/lib/apt/lists/*