You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2023/05/15 09:02:58 UTC

[hbase-operator-tools] branch master updated: HBASE-27856 Add hadolint binary to operator-tools yetus environment (#127)

This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-operator-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new efa1916  HBASE-27856 Add hadolint binary to operator-tools yetus environment (#127)
efa1916 is described below

commit efa191640bc01d323a99693230ebedacf48bd5d6
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Mon May 15 11:02:53 2023 +0200

    HBASE-27856 Add hadolint binary to operator-tools yetus environment (#127)
    
    Signed-off-by: Peter Somogyi <ps...@apache.org>
---
 dev-support/jenkins/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-support/jenkins/Dockerfile b/dev-support/jenkins/Dockerfile
index cf13f71..5b7aac2 100644
--- a/dev-support/jenkins/Dockerfile
+++ b/dev-support/jenkins/Dockerfile
@@ -17,6 +17,8 @@
 # Dockerfile for hbase-operator-tools pre-commit build.
 # https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/
 
+FROM hadolint/hadolint:latest-debian as hadolint
+
 FROM maven:3.8-jdk-8
 
 # hadolint ignore=DL3008
@@ -29,6 +31,8 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
     apt-get clean && \
     rm -rf /var/lib/apt/lists/*
 
+COPY --from=hadolint /bin/hadolint /bin/hadolint
+
 ###
 # Avoid out of memory errors in builds
 ###