mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-03-07 01:07:44 +08:00
fix docker warning about FROM and AS being in different letter case
This commit is contained in:
parent
2ac466017a
commit
b0b4d90e3c
@ -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
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM ubuntu:24.04 as build-base
|
||||
FROM ubuntu:24.04 AS build-base
|
||||
|
||||
ENV PATH="${PATH}:/root/.cargo/bin/"
|
||||
|
||||
@ -59,7 +59,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
|
||||
@ -88,7 +88,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" ]
|
||||
|
||||
|
||||
@ -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" ]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user