diff options
| author | jaydee-coder <187227976+jaydee-coder@users.noreply.github.com> | 2024-11-04 05:26:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 22:26:19 +0900 |
| commit | 6816b7d95b54330224020b4304db7fd5a5ea1ba1 (patch) | |
| tree | fc89b2e5949e4bfd1f6eeebf3638d03148b15d2d /Dockerfile | |
| parent | acdf265d7aeb0bd559f3d79a8f4fc7789dee638b (diff) | |
| download | fzf-6816b7d95b54330224020b4304db7fd5a5ea1ba1.tar.gz | |
docker: fix dockerfile warnings (#4080)
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.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,5 +8,5 @@ RUN echo '. ~/.bashrc' >> ~/.bash_profile RUN rm -f /etc/bash.bashrc COPY . /fzf RUN cd /fzf && make install && ./install --all -ENV LANG C.UTF-8 -CMD tmux new 'set -o pipefail; ruby /fzf/test/test_go.rb | tee out && touch ok' && cat out && [ -e ok ] +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 ]"] |
