main
Michal 2 years ago committed by GitHub
parent e848872e34
commit 41e88d0cbd

@ -8,6 +8,10 @@ RUN bash ./setup.sh
RUN useradd -m -G wheel vscode RUN useradd -m -G wheel vscode
USER vscode USER vscode
RUN bash ./rust.sh RUN rustup install nightly
ENV PATH="/root/.cargo/bin:$PATH" RUN sudo pacman --noconfirm -S pfetch
RUN echo "alias clear=\"clear; pfetch\"" >> /home/vscode/.bashrc
RUN echo "pfetch" >> /home/vscode/.bashrc
ENV PS1="\[\033[38;5;8m\]\T\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;13m\]\W\[$(tput sgr0)\] \$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/') \[$(tput sgr0)\]\[\033[38;5;7m\][\$?]\[$(tput sgr0)\]\n\[$(tput sgr0)\]\[\033[38;5;5m\]\\$\[$(tput sgr0)\] \[$(tput sgr0)\]"

@ -10,12 +10,11 @@
} }
}, },
"extensions": [ "extensions": [
"rust-lang.rust", "rust-lang.rust-analyzer",
"bungcip.better-toml", "bungcip.better-toml",
"vadimcn.vscode-lldb", "vadimcn.vscode-lldb",
"mutantndino.resourcemonitor" "mutantndino.resourcemonitor"
], ],
"forwardPorts": [], "forwardPorts": [],
"postCreateCommand": "rustc --version",
"remoteUser": "vscode" "remoteUser": "vscode"
} }

@ -1,5 +0,0 @@
rustup install nightly
rustup component add rustfmt
rustup component add clippy
cargo install cargo-audit
Loading…
Cancel
Save