BuildEnvironments/FlutterSdk/Dockerfile

20 lines
575 B
Docker

FROM git.zontreck.com/ariascreations/buildenvironments:adk
WORKDIR /
ENV PATH $PATH:/flutter/bin
RUN curl -sO https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.0-stable.tar.xz
RUN tar -xf /flutter_linux_3.24.0-stable.tar.xz; rm /flutter*.xz
RUN curl -sO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN dpkg -i google-chrome-stable_current_amd64.deb
RUN chown -R root:root /flutter
RUN /flutter/bin/flutter --disable-analytics
RUN /flutter/bin/flutter doctor
RUN /flutter/bin/flutter precache