Skip to content
Myr

Update Dockerfile

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 6ee31d5 · Browse files · 4 files+17 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+17 added−9 removed

  • tests:+13 added−5 removed
  • other:+4 added−4 removed

4 files+17 added−9 removed

modified:.github/workflows/linux.yml+1 added-1 removed
modified:test/test_core.rb+13 added
1650 unmodified lines
1651 expected.merge!(FZF_INPUT_STATE: 'disabled', FZF_ACTION: 'disable-search', FZF_KEY: 'space')1652 assert_equal expected, to_vars(lines).slice(*expected.keys)1653 end1654 end16551656 def test_abort_action_chain1657 tmux.send_keys %(seq 100 | #{FZF} --bind 'load:accept+up+up' > #{tempname}), :Enter1658 wait do1659 assert_path_exists tempname1660 assert_equal '1', File.read(tempname).chomp1661 end1662 tmux.send_keys %(seq 100 | #{FZF} --bind 'load:abort+become(echo {})' > #{tempname}), :Enter1663 wait do1664 assert_path_exists tempname1665 assert_equal '', File.read(tempname).chomp1666 end1667 end1668end
modified:test/test_filter.rb-5 removed
297 unmodified lines
298 result = `printf -- 'xxx\n-xx\nxx-\n_x_\n_x-\n-x_\n[x]\n-x-\n x \n/x/\n' | #{FZF} -f"'x'" --scheme=#{scheme}`.lines(chomp: true)299 assert_equal expected, result300 end301 end302303 def test_abort_action_chain304 assert_equal '1', `seq 100 | #{FZF} --bind 'load:accept+up+up'`.chomp305 assert_equal '', `seq 100 | #{FZF} --bind 'load:abort+become(echo {})'`.chomp306 end302end
modified:Dockerfile+3 added-3 removed
1FROM ubuntu:24.042RUN apt-get update -y && apt install -y git make golang zsh fish ruby tmux1FROM rubylang/ruby:3.4.1-noble2RUN apt-get update -y && apt install -y git make golang zsh fish tmux3RUN gem install --no-document -v 5.22.3 minitest4RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc5RUN echo '. ~/.bashrc' >> ~/.bash_profile6
1 unmodified line
8RUN rm -f /etc/bash.bashrc9COPY . /fzf10RUN cd /fzf && make install && ./install --all11ENV LANG=C.UTF-812CMD ["bash", "-ic", "tmux new 'set -o pipefail; ruby /fzf/test/test_go.rb | tee out && touch ok' && cat out && [ -e ok ]"]12CMD ["bash", "-ic", "tmux new 'set -o pipefail; ruby /fzf/test/runner.rb | tee out && touch ok' && cat out && [ -e ok ]"]