You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@yetus.apache.org by aa...@apache.org on 2021/03/04 05:48:37 UTC
[yetus] branch main updated: YETUS-1104. checkmake failing to build
(#214)
This is an automated email from the ASF dual-hosted git repository.
aajisaka pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new 1ae41fe YETUS-1104. checkmake failing to build (#214)
1ae41fe is described below
commit 1ae41fe784022ca7db9177744d0b25652666ed25
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Wed Mar 3 21:48:27 2021 -0800
YETUS-1104. checkmake failing to build (#214)
Signed-off-by: Akira Ajisaka <aa...@apache.org>
---
precommit/src/main/shell/test-patch-docker/Dockerfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/precommit/src/main/shell/test-patch-docker/Dockerfile b/precommit/src/main/shell/test-patch-docker/Dockerfile
index 9014851..fab0b83 100644
--- a/precommit/src/main/shell/test-patch-docker/Dockerfile
+++ b/precommit/src/main/shell/test-patch-docker/Dockerfile
@@ -182,10 +182,17 @@ RUN go get -u github.com/mgechev/revive
####
# checkmake (Makefile linter)
+#
+# requires go 1.15 as of 2021-03-02
+#
####
FROM yetusbase AS checkmake
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
-RUN go get -u github.com/mrtazz/checkmake
+RUN apt-get -q update \
+ && apt-get -q install --no-install-recommends -y golang-1.15 \
+ && apt-get clean \
+ && rm -rf /var/lib/apt/lists/* \
+ && /usr/lib/go-1.15/bin/go get -u github.com/mrtazz/checkmake
####
# golangci-lint (Multi-tool golang linter)