Skip to content

Commit

Permalink
Improve devcontainer setup draft (pt. II)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowuake committed Mar 24, 2024
1 parent 6b7fc8c commit bc86491
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM fedora:latest
COPY . .
RUN dnf update && chmod +x ./setup.sh && ./setup.sh
RUN dnf update -y && chmod +x ./setup.sh && ./setup.sh
8 changes: 4 additions & 4 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env bash

# Install setup deps
sudo dnf in curl @development-tools -y

# Install Rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env

# Install wasm-pack
cargo install wasm-pack

# Add Rust WASM target
rustup target add wasm32-unknown-unknown

# Install and add Clyppy
cargo install clippy
rustup component add clippy

0 comments on commit bc86491

Please sign in to comment.