No more devcontainer, sorry
parent
d79a9f1dc5
commit
9da499bf66
@ -1,20 +0,0 @@
|
|||||||
FROM crystallinux/crystal:crystal
|
|
||||||
|
|
||||||
WORKDIR /home/
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN bash ./setup.sh
|
|
||||||
|
|
||||||
RUN useradd -m -G wheel vscode
|
|
||||||
|
|
||||||
USER vscode
|
|
||||||
RUN rustup install nightly
|
|
||||||
|
|
||||||
RUN sudo pacman --noconfirm -S pfetch
|
|
||||||
|
|
||||||
RUN echo "[[ \$- != *i* ]] && return" > /home/vscode/.bashrc
|
|
||||||
RUN echo "alias ls=\"ls --color=auto\"" >> /home/vscode/.bashrc
|
|
||||||
RUN echo "alias clear=\"clear; pfetch\"" >> /home/vscode/.bashrc
|
|
||||||
RUN echo "pfetch" >> /home/vscode/.bashrc
|
|
||||||
|
|
||||||
RUN echo "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)\]\"" >> /home/vscode/.bashrc
|
|
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Rust on Crystal",
|
|
||||||
"build": {
|
|
||||||
"dockerfile": "Dockerfile"
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"lldb.executable": "/usr/bin/lldb",
|
|
||||||
"files.watcherExclude": {
|
|
||||||
"**/target/**": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"extensions": [
|
|
||||||
"rust-lang.rust-analyzer",
|
|
||||||
"bungcip.better-toml",
|
|
||||||
"vadimcn.vscode-lldb",
|
|
||||||
"mutantndino.resourcemonitor"
|
|
||||||
],
|
|
||||||
"forwardPorts": [],
|
|
||||||
"remoteUser": "vscode"
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
pacman -Syu --noconfirm
|
|
||||||
|
|
||||||
pacman -S --noconfirm \
|
|
||||||
curl \
|
|
||||||
git \
|
|
||||||
base-devel \
|
|
||||||
lldb \
|
|
||||||
rustup
|
|
||||||
|
|
||||||
echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
Loading…
Reference in New Issue