fix: make hadolint pass
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
surtur 2021-08-08 00:10:47 +02:00
parent 8f2e192905
commit 55d9852c80
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 4 additions and 1 deletions

@ -75,7 +75,7 @@ depends_on:
steps: steps:
- name: hadolint - name: hadolint
image: hadolint/hadolint:latest image: hadolint/hadolint:v2.6.0-alpine
commands: commands:
- hadolint --version - hadolint --version
- hadolint Dockerfile - hadolint Dockerfile

@ -7,6 +7,9 @@ WORKDIR /homepage
RUN git submodule init \ RUN git submodule init \
&& git submodule update --recursive \ && git submodule update --recursive \
&& hugo version && hugo version
# "DL3059 info: Multiple consecutive `RUN` instructions.
# Consider consolidation."
# hadolint ignore=DL3059
RUN hugo --minify --gc=true RUN hugo --minify --gc=true
WORKDIR / WORKDIR /