FROM debian:stable-slim@sha256:0ee52fad14c7a7cad4441629be3c93667f2b54ddb0ff773c65075e5f734a3af5 RUN apt-get update && \ apt-get install -y --no-install-recommends \ # dependencies to install flutter git curl unzip ca-certificates \ # dependencies to build for linux clang cmake ninja-build pkg-config libgtk-3-dev \ # dependencies for the app libayatana-appindicator3-dev ARG FLUTTER_VERSION RUN git clone -b $FLUTTER_VERSION https://github.com/flutter/flutter /flutter ENV PATH=$PATH:/flutter/bin RUN flutter doctor -v RUN flutter precache --linux ADD linux.sh /build.sh CMD /build.sh