fix docker warning about FROM and AS being in different letter case

Closes #422
This commit is contained in:
Vasyl Tretiakov 2025-01-24 20:54:49 +02:00 committed by Tyler Sturos
parent 5ce5459684
commit 70e4c783a1
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.20.14-alpine3.19 as build
FROM golang:1.20.14-alpine3.19 AS build
ARG NODE_VERSION
ARG MAX_KEY_ID

View File

@ -1,4 +1,4 @@
FROM ubuntu:24.04 as build-base
FROM ubuntu:24.04 AS build-base
ENV PATH="${PATH}:/root/.cargo/bin/"
@ -69,7 +69,7 @@ RUN /opt/rustup-init.sh -y --profile minimal
# Install uniffi-bindgen-go
RUN cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0
FROM build-base as build
FROM build-base AS build
ENV GOEXPERIMENT=arenas
ENV QUILIBRIUM_SIGNATURE_CHECK=false
@ -109,7 +109,7 @@ WORKDIR /opt/ceremonyclient/sidecar
RUN ./build.sh -o sidecar && cp sidecar /usr/bin
# Allows exporting single binary
FROM scratch as qclient
FROM scratch AS qclient
COPY --from=build /usr/bin/qclient /qclient
ENTRYPOINT [ "/qclient" ]

View File

@ -1,4 +1,4 @@
FROM ubuntu:24.04 as build-base
FROM ubuntu:24.04 AS build-base
ENV PATH="${PATH}:/root/.cargo/bin/"
@ -61,7 +61,7 @@ RUN /opt/rustup-init.sh -y --profile minimal
# Install uniffi-bindgen-go
RUN cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0
FROM build-base as build
FROM build-base AS build
ENV GOEXPERIMENT=arenas
ENV QUILIBRIUM_SIGNATURE_CHECK=false
@ -90,7 +90,7 @@ WORKDIR /opt/ceremonyclient/client
RUN ./build.sh -o qclient && cp qclient /usr/bin
# Allows exporting single binary
FROM scratch as qclient
FROM scratch AS qclient
COPY --from=build /usr/bin/qclient /qclient
ENTRYPOINT [ "/qclient" ]