From: Peter van Dijk Date: Tue, 10 Jun 2025 13:26:14 +0000 (+0200) Subject: match FROM/AS case X-Git-Tag: dnsdist-2.0.0-beta1~20^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15654%2Fhead;p=thirdparty%2Fpdns.git match FROM/AS case --- diff --git a/builder-support/dockerfiles/Dockerfile.target.amazon-2023 b/builder-support/dockerfiles/Dockerfile.target.amazon-2023 index 0dfee6b86c..2ce9874720 100644 --- a/builder-support/dockerfiles/Dockerfile.target.amazon-2023 +++ b/builder-support/dockerfiles/Dockerfile.target.amazon-2023 @@ -3,7 +3,7 @@ # This defines the distribution base layer # Put only the bare minimum of common commands here, without dev tools -FROM amazonlinux:2023 as dist-base +FROM amazonlinux:2023 AS dist-base ARG BUILDER_CACHE_BUSTER= # Do the actual rpm build diff --git a/builder-support/dockerfiles/Dockerfile.target.centos-10-stream b/builder-support/dockerfiles/Dockerfile.target.centos-10-stream index 1a1178fe3b..03118dadae 100644 --- a/builder-support/dockerfiles/Dockerfile.target.centos-10-stream +++ b/builder-support/dockerfiles/Dockerfile.target.centos-10-stream @@ -3,7 +3,7 @@ # This defines the distribution base layer # Put only the bare minimum of common commands here, without dev tools -FROM quay.io/centos/centos:stream10 as dist-base +FROM quay.io/centos/centos:stream10 AS dist-base ARG BUILDER_CACHE_BUSTER= diff --git a/builder-support/dockerfiles/Dockerfile.target.centos-9-stream b/builder-support/dockerfiles/Dockerfile.target.centos-9-stream index 6b9cda656b..09ab6c3092 100644 --- a/builder-support/dockerfiles/Dockerfile.target.centos-9-stream +++ b/builder-support/dockerfiles/Dockerfile.target.centos-9-stream @@ -3,7 +3,7 @@ # This defines the distribution base layer # Put only the bare minimum of common commands here, without dev tools -FROM quay.io/centos/centos:stream9 as dist-base +FROM quay.io/centos/centos:stream9 AS dist-base ARG BUILDER_CACHE_BUSTER= diff --git a/builder-support/dockerfiles/Dockerfile.target.docs b/builder-support/dockerfiles/Dockerfile.target.docs index b7dd82a5dc..a7b9a7ef4f 100644 --- a/builder-support/dockerfiles/Dockerfile.target.docs +++ b/builder-support/dockerfiles/Dockerfile.target.docs @@ -1,5 +1,5 @@ # Sphinx -FROM ubuntu:jammy as pdns-docs +FROM ubuntu:jammy AS pdns-docs RUN apt-get update && apt-get -y dist-upgrade && apt-get -y --no-install-recommends install \ ghostscript \ git \