codemagic-ci-cd / flutter-desktop-docker

MIT License
0 stars 3 forks source link

add dependencies for desktop linux builds #1

Closed maks closed 4 years ago

maks commented 4 years ago

This adds missing dependencies for building Flutter Linux desktop apps as per flutter doctor advice:

✗] Linux toolchain - develop for Linux desktop
    ✗ pgk-config is required for Linux development.
      It is likely available from your distribution (e.g.: apt install pkg-config), or can be downloaded from
      https://www.freedesktop.org/wiki/Software/pkg-config/
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
    ✗ The blkid development library is required for Linux development.
      It is likely available from your distribution (e.g.: apt install libblkid-dev)

After applying these changes I was able to build a linux desktop app successfully in a local container built using this updated Dockerfile.