19 lines
667 B
Docker
19 lines
667 B
Docker
FROM git.zontreck.com/packages/adk:latest AS FLUTTER
|
|
|
|
WORKDIR /
|
|
RUN curl -sO https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.32.5-stable.tar.xz
|
|
RUN tar -xf /flutter_linux_3.32.5-stable.tar.xz; rm /flutter*.xz
|
|
|
|
|
|
FROM git.zontreck.com/packages/adk:latest
|
|
|
|
WORKDIR /
|
|
ENV PATH $PATH:/flutter/bin
|
|
|
|
COPY --from=FLUTTER --chown=root:root /flutter /flutter
|
|
|
|
RUN curl -sO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && dpkg -i google-chrome-stable_current_amd64.deb && rm google-chrome*.deb
|
|
|
|
RUN /flutter/bin/flutter --disable-analytics
|
|
RUN /flutter/bin/flutter doctor
|
|
RUN /flutter/bin/flutter precache
|