Skip to content

Commit 8e212e3

Browse files
authored
fix: added Dockerfile and config to update yarn_gpg_key (#211)
1 parent 45a8b48 commit 8e212e3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM mcr.microsoft.com/devcontainers/universal:latest
2+
3+
# Fix: remove legacy Yarn apt repo that can break apt-get update with EXPKEYSIG
4+
5+
RUN rm -f /etc/apt/sources.list.d/yarn.list \
6+
/etc/apt/sources.list.d/yarn*.list \
7+
&& apt-get update \
8+
&& rm -rf /var/lib/apt/lists/*

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"hostRequirements": {
33
"cpus": 8
44
},
5+
"build": {
6+
"dockerfile": "Dockerfile"
7+
},
58
"customizations": {
69
"vscode": {
710
"settings": {

0 commit comments

Comments
 (0)