Update docker file instructions
This commit is contained in:
parent
cba1739f7a
commit
1c24c17d91
1 changed files with 5 additions and 6 deletions
11
Dockerfile
11
Dockerfile
|
@ -6,16 +6,15 @@ COPY . .
|
|||
WORKDIR /
|
||||
RUN apt-get update
|
||||
RUN apt-get upgrade -y
|
||||
RUN apt-get install -y git wget curl unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config libgtk3-dev liblzma-dev libstdc++-12-dev rsync
|
||||
RUN apt-get install -y git wget curl unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config liblzma-dev libstdc++-12-dev rsync
|
||||
|
||||
RUN curl -O flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.22.1-stable.tar.xz
|
||||
RUN wget -O flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.22.1-stable.tar.xz
|
||||
RUN tar -xvf flutter.tar.xz
|
||||
|
||||
WORKDIR /flutter
|
||||
RUN export PATH=$PATH:/flutter/bin
|
||||
|
||||
WORKDIR /app
|
||||
RUN /bin/bash /app/compile.sh
|
||||
RUN git clean -xfd
|
||||
RUN git reset --hard
|
||||
RUN PATH=$PATH:/flutter/bin /bin/bash /app/compile.sh
|
||||
|
||||
FROM debian:latest
|
||||
WORKDIR /app
|
||||
|
|
Loading…
Reference in a new issue