We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9143cd7 commit e42b4f5Copy full SHA for e42b4f5
.devcontainer/devcontainer.json
@@ -0,0 +1,15 @@
1
+{
2
+ "name": "LeetCode",
3
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4
+ "postCreateCommand": "sh .devcontainer/post_create_command.sh",
5
+ "features": {
6
+ "ghcr.io/devcontainers/features/node:1": {
7
+ "version": "latest"
8
+ },
9
+ "ghcr.io/devcontainers/features/rust:1": {
10
11
+ }
12
13
+ // "forwardPorts": [],
14
+ "remoteUser": "root"
15
+}
.devcontainer/post_create_command.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Update package lists
+sudo apt update
+# Install C++ development tools
+apt install -y build-essential
0 commit comments