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.
21 lines
776 B
Docker
21 lines
776 B
Docker
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
|