2024-01-07 06:10:06 +00:00
|
|
|
FROM --platform=linux/amd64 ubuntu:22.04
|
|
|
|
RUN apt-get update -y && apt install -y git make golang zsh fish ruby tmux
|
2020-10-23 10:54:45 +00:00
|
|
|
RUN gem install --no-document -v 5.14.2 minitest
|
2018-06-01 09:23:25 +00:00
|
|
|
RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc
|
|
|
|
RUN echo '. ~/.bashrc' >> ~/.bash_profile
|
|
|
|
|
|
|
|
# Do not set default PS1
|
|
|
|
RUN rm -f /etc/bash.bashrc
|
|
|
|
COPY . /fzf
|
2018-06-08 10:42:29 +00:00
|
|
|
RUN cd /fzf && make install && ./install --all
|
2024-01-07 06:10:06 +00:00
|
|
|
ENV LANG C.UTF-8
|
2018-06-08 10:42:29 +00:00
|
|
|
CMD tmux new 'set -o pipefail; ruby /fzf/test/test_go.rb | tee out && touch ok' && cat out && [ -e ok ]
|