From 7270a7ba48ca3e1cfc8a2353add60d5cac947105 Mon Sep 17 00:00:00 2001 From: Zhiwei Huang Date: Wed, 7 Aug 2024 15:35:52 +0800 Subject: [PATCH] tools: Fix container image build warning All commands within the Dockerfile should use the same casing (either upper or lower).[1] [1]: https://docs.docker.com/reference/build-checks/consistent-instruction-casing/ Signed-off-by: Zhiwei Huang --- tools/osbuilder/dracut/Dockerfile.in | 2 +- tools/packaging/static-build/qemu/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/osbuilder/dracut/Dockerfile.in b/tools/osbuilder/dracut/Dockerfile.in index e80fa374a3..dd689963c6 100644 --- a/tools/osbuilder/dracut/Dockerfile.in +++ b/tools/osbuilder/dracut/Dockerfile.in @@ -5,7 +5,7 @@ # openSUSE Tumbleweed image has only 'latest' tag so ignore DL3006 rule. # hadolint ignore=DL3006 -from opensuse/tumbleweed +FROM opensuse/tumbleweed # zypper -y or --non-interactive can be used interchangeably here so ignore # DL3034 rule. diff --git a/tools/packaging/static-build/qemu/Dockerfile b/tools/packaging/static-build/qemu/Dockerfile index 0139392329..ae1e24ff75 100644 --- a/tools/packaging/static-build/qemu/Dockerfile +++ b/tools/packaging/static-build/qemu/Dockerfile @@ -2,7 +2,7 @@ # Copyright (c) 2020 Ant Group # # SPDX-License-Identifier: Apache-2.0 -from ubuntu:20.04 +FROM ubuntu:20.04 # CACHE_TIMEOUT: date to invalid cache, if the date changes the image will be rebuild # This is required to keep build dependencies with security fixes.