fzf/Dockerfile
Junegunn Choi 76a2dcb5a9
Add Dockerfile for running tests
make docker
make docker-test
2018-06-01 18:23:25 +09:00

12 lines
435 B
Docker

FROM archlinux/base:latest
RUN pacman -Sy && pacman --noconfirm -S awk tar git curl tmux zsh fish ruby procps
RUN gem install --no-ri --no-rdoc minitest
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
RUN /fzf/install --all
CMD tmux new 'ruby /fzf/test/test_go.rb > out && touch ok' && cat out && [ -e ok ]