build: Update dockerfile to build vodozemac
This commit is contained in:
parent
c7cf12287d
commit
15987cac46
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
FROM ghcr.io/cirruslabs/flutter as builder
|
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
|
WORKDIR /tmp
|
||||||
RUN wget https://github.com/mikefarah/yq/releases/download/v4.40.5/yq_linux_amd64.tar.gz
|
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
|
COPY . /app
|
||||||
WORKDIR /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
|
RUN ./scripts/prepare-web.sh
|
||||||
COPY config.* /app/
|
COPY config.* /app/
|
||||||
RUN flutter pub get
|
RUN flutter pub get
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue