2022-10-21 20:42:44 +02:00
|
|
|
FROM linuxserver/code-server:4.7.1
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
echo "**** install starshipt prompt ****" && \
|
2022-11-07 16:01:31 +01:00
|
|
|
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
|
|
|
|
|
2022-11-07 16:01:31 +01:00
|
|
|
ENV STARSHIP_CONFIG=/etc/starship.toml
|
2022-10-21 20:42:44 +02:00
|
|
|
|
2022-11-07 16:01:31 +01:00
|
|
|
COPY starship.toml /etc/starship.toml
|
2022-10-21 20:42:44 +02:00
|
|
|
|
|
|
|
RUN \
|
2022-11-07 16:01:31 +01:00
|
|
|
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
|
|
|
|
2022-11-07 16:01:31 +01:00
|
|
|
ADD install-devruntime /usr/bin/
|
2022-10-21 20:42:44 +02:00
|
|
|
RUN \
|
2022-11-07 16:01:31 +01:00
|
|
|
chmod +x /usr/bin/install-devruntime && \
|
|
|
|
echo "echo \"Use 'install-devruntime' to install missing runtimes like dotnet or NodeJs.\"" >> /etc/bash.bashrc
|