restructure to support two different dockerfiles for linux and windows

This commit is contained in:
Dan Ballard 2021-04-07 15:43:31 -07:00
parent c8934f89e8
commit 4bc4052547
3 changed files with 13 additions and 0 deletions

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# Docker images for performing Flutter desktop builds
- linux-dev is just cirrusci/flutter:dev + apt installing the needed utils
- windows-dev is mcr.microsoft.com/dotnet/framework/sdk:4.8 and then most of a cirrusci/flutter Dockerfile on top

5
linux/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM cirrusci/flutter:dev
RUN apt-get update
RUN apt-get install -y --no-install-recommends cmake ninja-build clang build-essential pkg-config libgtk-3-dev liblzma-dev lcov
RUN flutter config --enable-linux-desktop

4
windows/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8