arkanum/Dockerfile

21 lines
661 B
Docker
Raw Normal View History

2022-10-21 20:42:44 +02:00
FROM linuxserver/code-server:4.7.1
RUN \
echo "**** install starshipt prompt ****" && \
curl -sS https://starship.rs/install.sh | sh -s -- -f && \
2022-10-21 20:42:44 +02:00
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
ENV STARSHIP_CONFIG=/etc/starship.toml
2022-10-21 20:42:44 +02:00
COPY starship.toml /etc/starship.toml
2022-10-21 20:42:44 +02:00
RUN \
echo "**** setup git ****" && \
git config --system credential.helper store && \
echo 'source /usr/share/bash-completion/completions/git' >> /etc/bash.bashrc
2022-10-21 20:42:44 +02:00
ADD install-devruntime /usr/bin/
2022-10-21 20:42:44 +02:00
RUN \
chmod +x /usr/bin/install-devruntime && \
echo "echo \"Use 'install-devruntime' to install missing runtimes like dotnet or NodeJs.\"" >> /etc/bash.bashrc