Skip to content

Commit af13f75

Browse files
romanlutzCopilotCopilot
authored
MAINT set up GitHub Copilot in devcontainer (microsoft#1431)
Co-authored-by: Roman Lutz <romanlutz@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a33f99f commit af13f75

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ RUN echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
6565
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
6666
&& apt-get install -y nodejs \
6767
&& npm install -g npm@latest \
68+
&& npm install -g @github/copilot@0.0.421 \
69+
&& npm cache clean --force \
70+
&& rm -rf /root/.npm \
6871
&& apt-get clean \
6972
&& rm -rf /var/lib/apt/lists/*
7073

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@
8484
"dbaeumer.vscode-eslint",
8585
"esbenp.prettier-vscode",
8686
"ms-playwright.playwright",
87-
"orta.vscode-jest"
87+
"orta.vscode-jest",
88+
"github.copilot",
89+
"github.copilot-chat"
8890
]
8991
}
9092
},

0 commit comments

Comments
 (0)