From 6488cce299ee849d282adc4283776f2c9ad0cd26 Mon Sep 17 00:00:00 2001 From: Michal Date: Sat, 23 Jul 2022 01:16:38 +0100 Subject: [PATCH] No more devcontainer, sorry --- .devcontainer/Dockerfile | 20 -------------------- .devcontainer/devcontainer.json | 20 -------------------- .devcontainer/setup.sh | 10 ---------- 3 files changed, 50 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json delete mode 100644 .devcontainer/setup.sh diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index c99ee3e..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -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 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 4a768f6..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -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" -} diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh deleted file mode 100644 index 7cb947f..0000000 --- a/.devcontainer/setup.sh +++ /dev/null @@ -1,10 +0,0 @@ -pacman -Syu --noconfirm - -pacman -S --noconfirm \ - curl \ - git \ - base-devel \ - lldb \ - rustup - -echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \ No newline at end of file