From 8f3fa13e2ee3948dedc88895844849bce75f5436 Mon Sep 17 00:00:00 2001 From: Matas Misiunas Date: Thu, 23 May 2024 12:00:58 +0300 Subject: [PATCH] Fix uniffi binaries not appearing in linux image --- builders/build-linux-rust/Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/builders/build-linux-rust/Dockerfile b/builders/build-linux-rust/Dockerfile index 8eb2f35..117b0ad 100644 --- a/builders/build-linux-rust/Dockerfile +++ b/builders/build-linux-rust/Dockerfile @@ -1,10 +1,3 @@ -FROM ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 - -COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen /bin -COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-cs /bin -COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-go /bin -COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-cpp /bin - FROM rust:1.77.2-bullseye ARG REVISION @@ -14,6 +7,11 @@ LABEL org.opencontainers.image.description="Linux Rust builder image" LABEL org.opencontainers.image.licenses=GPL-3.0 LABEL org.opencontainers.image.revision=$REVISION +COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen /bin +COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-cs /bin +COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-go /bin +COPY --from=ghcr.io/nordsecurity/uniffi-generators:v0.25.0-8 /bin/uniffi-bindgen-cpp /bin + RUN set -eux; \ export DEBIAN_FRONTEND=noninteractive; \ apt-get update; \