Repository: yetus Updated Branches: refs/heads/master 8d4b37c51 -> a8e04eb70
YETUS-722. upgrade bats to bats-core Signed-off-by: Akira Ajisaka <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/a8e04eb7 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/a8e04eb7 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/a8e04eb7 Branch: refs/heads/master Commit: a8e04eb7095fe3727fc4ebe0ce96c3c2670103f6 Parents: 8d4b37c Author: Allen Wittenauer <[email protected]> Authored: Sat Nov 17 14:41:17 2018 -0800 Committer: Akira Ajisaka <[email protected]> Committed: Fri Nov 30 17:05:16 2018 +0900 ---------------------------------------------------------------------- precommit/src/main/shell/test-patch-docker/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/a8e04eb7/precommit/src/main/shell/test-patch-docker/Dockerfile ---------------------------------------------------------------------- diff --git a/precommit/src/main/shell/test-patch-docker/Dockerfile b/precommit/src/main/shell/test-patch-docker/Dockerfile index 0667f80..501e0c6 100644 --- a/precommit/src/main/shell/test-patch-docker/Dockerfile +++ b/precommit/src/main/shell/test-patch-docker/Dockerfile @@ -83,9 +83,11 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y autoconf #### # Install bats (TAP-capable unit testing for shell scripts) #### -RUN apt-get -q update && apt-get -q install --no-install-recommends -y bats \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* +RUN git clone --branch v1.1.0 \ + https://github.com/bats-core/bats-core.git \ + /tmp/bats-core \ + && /tmp/bats-core/install.sh /usr/local \ + && rm -rf /tmp/bats-core #### # Install cmake
