From f3b55fe64d45dba276a56806bf6683a3c8bd9a22 Mon Sep 17 00:00:00 2001 From: Andrey Volkov Date: Wed, 24 Oct 2018 11:46:45 -0700 Subject: [PATCH] Add hadolint --- Dockerfile | 8 ++++---- Makefile | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c193a99..44ac55d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,17 +25,17 @@ RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C # Update APT repository & install packages RUN apt-get -q update \ - && apt-get -y install \ + && apt-get -y install --no-install-recommends \ aptly=1.3.0 \ - bzip2 \ + bzip2=1.0.6-8 \ gnupg=1.4.20-1ubuntu3.3 \ gpgv=1.4.20-1ubuntu3.3 \ graphviz=2.38.0-12ubuntu2.1 \ supervisor=3.2.0-2ubuntu0.2 \ nginx=1.10.3-0ubuntu0.16.04.2 \ - wget \ + wget=1.17.1-1ubuntu1.4 \ xz-utils=5.1.1alpha+20120614-2ubuntu2 \ - apt-utils \ + apt-utils=1.2.27 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/Makefile b/Makefile index 5ee4e38..a93b581 100644 --- a/Makefile +++ b/Makefile @@ -15,3 +15,4 @@ .PHONY: lint lint: shellcheck assets/*.sh + hadolint Dockerfile