mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-21 20:35:11 +00:00
6816b7d95b
The following warnings were emitted when running `make docker-test`: ``` 2 warnings found (use docker --debug to expand): - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 11) - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 12) ``` This change fixes both of these 2 trivial warnings.
13 lines
505 B
Docker
13 lines
505 B
Docker
FROM ubuntu:24.04
|
|
RUN apt-get update -y && apt install -y git make golang zsh fish ruby tmux
|
|
RUN gem install --no-document -v 5.22.3 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 cd /fzf && make install && ./install --all
|
|
ENV LANG=C.UTF-8
|
|
CMD ["bash", "-ic", "tmux new 'set -o pipefail; ruby /fzf/test/test_go.rb | tee out && touch ok' && cat out && [ -e ok ]"]
|