From 25f0f01e5881c99292ae05e791c56fb02c519186 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 26 Mar 2022 15:11:40 +0100 Subject: [PATCH] dockerfile: consolidate multiple RUN statements --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f60893c..7053883 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,9 @@ WORKDIR /tmp/ # hadolint ignore=DL3041 RUN microdnf --refresh upgrade -y && microdnf install -y bsdtar git findutils \ --nodocs --setopt install_weak_deps=0 \ - && microdnf clean all -y -# ignore DL3059 -RUN bsdtar xfv /tmp/hugo.tar.gz && rm -fv /tmp/hugo.tar.gz README.md LICENSE \ + && microdnf clean all -y; \ + \ + bsdtar xfv /tmp/hugo.tar.gz && rm -fv /tmp/hugo.tar.gz README.md LICENSE \ && chmod +x /tmp/hugo \ && mkdir -pv /usr/local/bin \ && mv -v /tmp/hugo /usr/local/bin/ \