arkanum/Dockerfile
OCram85 6221565fa1
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
just install go sources
2022-10-26 19:16:44 +02:00

33 lines
916 B
Docker

FROM linuxserver/code-server:4.7.1
RUN \
echo "**** install starshipt prompt ****" && \
curl -sS https://starship.rs/install.sh | sh -s -- -f && \
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
ENV STARSHIP_CONFIG=/etc/starship.toml
COPY starship.toml /etc/starship.toml
RUN \
echo "**** setup git ****" && \
git config --system credential.helper store && \
echo 'source /usr/share/bash-completion/completions/git' >> /etc/bash.bashrc
RUN \
echo "**** install dev runtimes ****" && \
#curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - && \
# update already called by nodesource install script
apt-get update && \
apt-get install -y \
# let the user install nodejs to save 800MB in image
# nodejs \
golang-go &&\
echo "**** clean up ****" && \
apt-get clean && \
rm -rf \
/config/* \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*