Skip to content
Myr

Avoid passing '/bin/bash' as default argument to docker run

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Previously: ``` $ docker run dbdc663dabc8 jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at <top-level>, line 1: /bin/bash jq: 1 compile error $ docker run --entrypoint /bin/echo dbdc663dabc8 /bin/bash ``` Now: ``` $ docker run e36393e8c15e jq - commandline JSON processor [version 1.5rc2-77-g9a3fe9e] Usage: /usr/local/bin/jq [options] <jq filter> [file...] jq is a tool for processing JSON inputs, applying the ... ```

authored by David Tolnay · committed by David Tolnay · parent 688bb19 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:Dockerfile+1 added
48 unmodified lines
49 rm -rf oniguruma-5.9.6 && \50 rm -rf /var/lib/apt/lists/* /var/lib/gems5152ENTRYPOINT ["/usr/local/bin/jq"]53CMD []