-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDockerfile
20 lines (14 loc) · 788 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:22.04
RUN apt update && apt install -y git curl unzip cmake libgtk-3-dev clang ninja-build wget
RUN wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.19.6-stable.tar.xz
RUN tar -xf flutter_linux_3.19.6-stable.tar.xz -C /
RUN git config --global --add safe.directory /flutter
#RUN git clone https://github.com/flutter/flutter.git
ENV PATH "$PATH:/flutter/bin"
# Run basic check to download Dark SDK
RUN flutter doctor
RUN wget -O appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
RUN chmod +x appimage-builder-x86_64.AppImage
RUN mv appimage-builder-x86_64.AppImage /usr/local/bin/appimage-builder
RUN mkdir /app
WORKDIR /app