summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2018-06-01 18:23:25 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2018-06-01 18:23:25 +0900
commit76a2dcb5a95c3027eeb811c0abb9331928c13653 (patch)
treee946779887bdac7c16ff722e347dd034c96c6ad7 /Dockerfile
parent68ec3d1c1049fa2554b9d8e4f810dd0e40b6379b (diff)
Add Dockerfile for running tests
make docker make docker-test
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..a37d2e20
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
+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 ]