mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-03-03 07:17:31 +08:00
fix docker warning about FROM and AS being in different letter case
Closes #422
This commit is contained in:
parent
5ce5459684
commit
70e4c783a1
@ -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/"
|
||||
|
||||
@ -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" ]
|
||||
|
||||
|
||||
@ -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