Skip to content

Commit 6c6be83

Browse files
committed
Project done
0 parents  commit 6c6be83

File tree

11 files changed

+1883
-0
lines changed

11 files changed

+1883
-0
lines changed

.devcontainer/Dockerfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM ubuntu:22.04
2+
3+
# Update packages
4+
RUN apt-get update
5+
6+
# Add sudo
7+
RUN apt-get install -y sudo
8+
9+
# Add codespace user
10+
RUN adduser --disabled-password --gecos '' codespace
11+
RUN adduser codespace sudo
12+
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
13+
USER codespace
14+
WORKDIR /home/codespace
15+
16+
# Get Ubuntu packages
17+
RUN sudo apt-get install -y \
18+
build-essential \
19+
curl \
20+
git
21+
22+
# Install Rust
23+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
24+
25+
# Add .cargo/bin to PATH
26+
ENV PATH="/home/codespace/.cargo/bin:${PATH}"

.devcontainer/devcontainer.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"build": { "dockerfile": "Dockerfile" },
3+
"customizations": {
4+
"vscode": {
5+
"extensions": [
6+
"rust-lang.rust-analyzer",
7+
"tamasfe.even-better-toml"
8+
]
9+
}
10+
},
11+
"containerUser": "codespace",
12+
"remoteUser": "codespace",
13+
"postCreateCommand": "git submodule update --init"
14+
}

.github/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)