diff --git a/Dockerfile.release b/Dockerfile.release index f6f3b2e..fec9d52 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -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 diff --git a/Dockerfile.source b/Dockerfile.source index b00a9c5..c83baca 100644 --- a/Dockerfile.source +++ b/Dockerfile.source @@ -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" ] diff --git a/Dockerfile.sourceavx512 b/Dockerfile.sourceavx512 index 88c8a07..96eee5f 100644 --- a/Dockerfile.sourceavx512 +++ b/Dockerfile.sourceavx512 @@ -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" ]