Add hadolint

This commit is contained in:
Andrey Volkov 2018-10-24 11:46:45 -07:00
parent 55d34437ad
commit f3b55fe64d
2 changed files with 5 additions and 4 deletions

View File

@ -25,17 +25,17 @@ RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C
# Update APT repository & install packages # Update APT repository & install packages
RUN apt-get -q update \ RUN apt-get -q update \
&& apt-get -y install \ && apt-get -y install --no-install-recommends \
aptly=1.3.0 \ aptly=1.3.0 \
bzip2 \ bzip2=1.0.6-8 \
gnupg=1.4.20-1ubuntu3.3 \ gnupg=1.4.20-1ubuntu3.3 \
gpgv=1.4.20-1ubuntu3.3 \ gpgv=1.4.20-1ubuntu3.3 \
graphviz=2.38.0-12ubuntu2.1 \ graphviz=2.38.0-12ubuntu2.1 \
supervisor=3.2.0-2ubuntu0.2 \ supervisor=3.2.0-2ubuntu0.2 \
nginx=1.10.3-0ubuntu0.16.04.2 \ nginx=1.10.3-0ubuntu0.16.04.2 \
wget \ wget=1.17.1-1ubuntu1.4 \
xz-utils=5.1.1alpha+20120614-2ubuntu2 \ xz-utils=5.1.1alpha+20120614-2ubuntu2 \
apt-utils \ apt-utils=1.2.27 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View File

@ -15,3 +15,4 @@
.PHONY: lint .PHONY: lint
lint: lint:
shellcheck assets/*.sh shellcheck assets/*.sh
hadolint Dockerfile