All checks were successful
Build Flutter SDK Docker Image / build (push) Successful in 3m23s
24 lines
562 B
Docker
24 lines
562 B
Docker
FROM ubuntu:22.04
|
|
|
|
ARG CHANNEL=stable
|
|
|
|
RUN apt update
|
|
RUN apt install -y curl git wget unzip
|
|
RUN apt clean
|
|
|
|
ENV FLUTTER_ROOT=/usr/local/flutter
|
|
RUN git clone -b ${CHANNEL} https://github.com/flutter/flutter.git ${FLUTTER_ROOT}
|
|
|
|
# Set flutter environment path
|
|
ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PATH}"
|
|
|
|
RUN flutter doctor
|
|
|
|
# Propably not needed since we clone that branch above, but to be sure
|
|
RUN flutter channel ${CHANNEL}
|
|
RUN flutter config --enable-web
|
|
|
|
RUN flutter upgrade
|
|
RUN flutter precache
|
|
RUN flutter --version
|