Browse Source

Add hadolint

Andrey Volkov 6 months ago
parent
commit
f3b55fe64d
2 changed files with 5 additions and 4 deletions
  1. 4
    4
      Dockerfile
  2. 1
    0
      Makefile

+ 4
- 4
Dockerfile View File

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

+ 1
- 0
Makefile View File

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

Loading…
Cancel
Save