Skip to content

Commit

Permalink
Fix lower case usage of AS in Docker build files
Browse files Browse the repository at this point in the history
  • Loading branch information
sophokles73 committed Oct 10, 2023
1 parent fbf908f commit 90909b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Dockerfile.fms-consumer
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
2 changes: 1 addition & 1 deletion components/Dockerfile.fms-forwarder
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
2 changes: 1 addition & 1 deletion components/Dockerfile.fms-server
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90909b5

Please sign in to comment.