You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
malachite/.devcontainer/Dockerfile

18 lines
590 B
Docker

FROM crystallinux/crystal:crystal
WORKDIR /home/
COPY . .
RUN bash ./setup.sh
2 years ago
RUN useradd -m -G wheel vscode
USER vscode
2 years ago
RUN rustup install nightly
2 years ago
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)\]"