From 90909b5ed8d478ac3423e6ef72f87bc2ac962ccf Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Tue, 10 Oct 2023 13:21:06 +0200 Subject: [PATCH] Fix lower case usage of AS in Docker build files --- components/Dockerfile.fms-consumer | 2 +- components/Dockerfile.fms-forwarder | 2 +- components/Dockerfile.fms-server | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/Dockerfile.fms-consumer b/components/Dockerfile.fms-consumer index 121d4b2..b19ae3f 100644 --- a/components/Dockerfile.fms-consumer +++ b/components/Dockerfile.fms-consumer @@ -24,7 +24,7 @@ ENV BUILDTARGET="x86_64-unknown-linux-musl" FROM ghcr.io/rust-cross/rust-musl-cross:aarch64-musl AS builder-arm64 ENV BUILDTARGET="aarch64-unknown-linux-musl" -FROM builder-$TARGETARCH as builder +FROM builder-$TARGETARCH AS builder ARG TARGETARCH RUN apt-get update && apt-get install -y ca-certificates \ && apt-get clean && rm -rf /var/lib/apt/lists/* diff --git a/components/Dockerfile.fms-forwarder b/components/Dockerfile.fms-forwarder index 4c50020..4a44818 100644 --- a/components/Dockerfile.fms-forwarder +++ b/components/Dockerfile.fms-forwarder @@ -24,7 +24,7 @@ ENV BUILDTARGET="x86_64-unknown-linux-musl" FROM ghcr.io/rust-cross/rust-musl-cross:aarch64-musl AS builder-arm64 ENV BUILDTARGET="aarch64-unknown-linux-musl" -FROM builder-$TARGETARCH as builder +FROM builder-$TARGETARCH AS builder ARG TARGETARCH RUN apt-get update && apt-get install -y ca-certificates \ && apt-get clean && rm -rf /var/lib/apt/lists/* diff --git a/components/Dockerfile.fms-server b/components/Dockerfile.fms-server index 28782ab..87cf321 100644 --- a/components/Dockerfile.fms-server +++ b/components/Dockerfile.fms-server @@ -24,7 +24,7 @@ ENV BUILDTARGET="x86_64-unknown-linux-musl" FROM ghcr.io/rust-cross/rust-musl-cross:aarch64-musl AS builder-arm64 ENV BUILDTARGET="aarch64-unknown-linux-musl" -FROM builder-$TARGETARCH as builder +FROM builder-$TARGETARCH AS builder ARG TARGETARCH # This will speed up fetching the crate.io index in the future, see