From 15987cac468931d59a92387ad935893fdd8b61fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Fri, 20 Jun 2025 14:02:27 +0200 Subject: [PATCH] build: Update dockerfile to build vodozemac --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 831ba871d..39505aadf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ghcr.io/cirruslabs/flutter as builder -RUN sudo apt update && sudo apt install curl wget jq -y +RUN sudo apt update && sudo apt install curl wget jq build-essential -y WORKDIR /tmp RUN wget https://github.com/mikefarah/yq/releases/download/v4.40.5/yq_linux_amd64.tar.gz @@ -8,6 +8,9 @@ RUN mv yq_linux_amd64 /usr/bin/yq COPY . /app WORKDIR /app +RUN curl https://sh.rustup.rs -sSf | bash -s -- -y +ENV PATH="/root/.cargo/bin:${PATH}" +RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu RUN ./scripts/prepare-web.sh COPY config.* /app/ RUN flutter pub get