260605.1 · bf114bcc21e17d405e1077729520fce2ad2ebb9d
test: install nushell in Dockerfile
ref: https://docs.docker.com/reference/dockerfile/#here-documents
reading declarations
Changes to Dockerfile. All files
@@ -1,5 +1,15 @@ FROM rubylang/ruby:3.4.1-noble-RUN apt-get update -y && apt install -y git make golang zsh fish tmux+RUN apt-get update && apt-get install -y git make golang zsh fish tmux++# https://www.nushell.sh/book/installation.html+RUN <<EOF+ set -ex+ apt-get install -y wget gnupg+ wget -qO- https://apt.fury.io/nushell/gpg.key | gpg --dearmor -o /etc/apt/keyrings/fury-nushell.gpg+ echo "deb [signed-by=/etc/apt/keyrings/fury-nushell.gpg] https://apt.fury.io/nushell/ /" | tee /etc/apt/sources.list.d/fury-nushell.list+ apt-get update+ apt-get install -y nushell+EOF RUN gem install --no-document -v 5.22.3 minitest RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc RUN echo '. ~/.bashrc' >> ~/.bash_profile