Update docker file instructions

This commit is contained in:
zontreck 2024-05-24 16:39:32 -07:00
parent cba1739f7a
commit 1c24c17d91

View file

@ -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