From 55d9852c80a77c4b42fe80de9801b4683bbe08bf Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 8 Aug 2021 00:10:47 +0200 Subject: [PATCH] fix: make hadolint pass --- .drone.yml | 2 +- Dockerfile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index de007e9..d9cdec4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -75,7 +75,7 @@ depends_on: steps: - name: hadolint - image: hadolint/hadolint:latest + image: hadolint/hadolint:v2.6.0-alpine commands: - hadolint --version - hadolint Dockerfile diff --git a/Dockerfile b/Dockerfile index 4dc60c0..85e53b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ WORKDIR /homepage RUN git submodule init \ && git submodule update --recursive \ && hugo version +# "DL3059 info: Multiple consecutive `RUN` instructions. +# Consider consolidation." +# hadolint ignore=DL3059 RUN hugo --minify --gc=true WORKDIR /