mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
[docker] Build binary from source
This commit is contained in:
parent
2b19c0bc68
commit
af87650bc4
@ -1,5 +1,5 @@
|
|||||||
FROM archlinux/base:latest
|
FROM archlinux/base:latest
|
||||||
RUN pacman -Sy && pacman --noconfirm -S awk tar git curl tmux zsh fish ruby procps
|
RUN pacman -Sy && pacman --noconfirm -S awk git tmux zsh fish ruby procps go make
|
||||||
RUN gem install --no-ri --no-rdoc minitest
|
RUN gem install --no-ri --no-rdoc minitest
|
||||||
RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc
|
RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc
|
||||||
RUN echo '. ~/.bashrc' >> ~/.bash_profile
|
RUN echo '. ~/.bashrc' >> ~/.bash_profile
|
||||||
@ -7,5 +7,5 @@ RUN echo '. ~/.bashrc' >> ~/.bash_profile
|
|||||||
# Do not set default PS1
|
# Do not set default PS1
|
||||||
RUN rm -f /etc/bash.bashrc
|
RUN rm -f /etc/bash.bashrc
|
||||||
COPY . /fzf
|
COPY . /fzf
|
||||||
RUN /fzf/install --all
|
RUN cd /fzf && make install && ./install --all
|
||||||
CMD tmux new 'ruby /fzf/test/test_go.rb > out && touch ok' && cat out && [ -e ok ]
|
CMD tmux new 'set -o pipefail; ruby /fzf/test/test_go.rb | tee out && touch ok' && cat out && [ -e ok ]
|
||||||
|
Loading…
Reference in New Issue
Block a user