You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
616 B
19 lines
616 B
FROM debian:stable-slim@sha256:1529b15b786397b4695b1685d4e37b3dde62420862c0546fa364d0e889473c20 |
|
|
|
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 |