Debian Codegraph @

Dockerfile

raw
1 FROM rubylang/ruby:3.4.1-noble
2 RUN apt-get update && apt-get install -y git make golang zsh fish tmux
3
4 # https://www.nushell.sh/book/installation.html
5 RUN <<EOF
6 set -ex
7 apt-get install -y wget gnupg
8 wget -qO- https://apt.fury.io/nushell/gpg.key | gpg --dearmor -o /etc/apt/keyrings/fury-nushell.gpg
9 echo "deb [signed-by=/etc/apt/keyrings/fury-nushell.gpg] https://apt.fury.io/nushell/ /" | tee /etc/apt/sources.list.d/fury-nushell.list
10 apt-get update
11 apt-get install -y nushell
12 EOF
13 RUN gem install --no-document -v 5.22.3 minitest
14 RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc
15 RUN echo '. ~/.bashrc' >> ~/.bash_profile
16
17 # Do not set default PS1
18 RUN rm -f /etc/bash.bashrc
19 COPY . /fzf
20 RUN cd /fzf && make install && ./install --all
21 ENV LANG=C.UTF-8
22 CMD ["bash", "-ic", "tmux new 'set -o pipefail; ruby /fzf/test/runner.rb | tee out && touch ok' && cat out && [ -e ok ]"]