File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ v1.2.0] - 2021-07-12
8+ ### Added
9+ - Add flutter dependencies
10+
711## [ v1.1.0] - 2021-07-12
812### Added
913- Add labels
Original file line number Diff line number Diff line change @@ -96,4 +96,23 @@ RUN git clone https://github.com/danger/kotlin.git _danger-kotlin && \
9696# setup environment variables
9797ENV PATH=$PATH:/usr/local/kotlinc/bin
9898
99+ # flutter
100+ ENV FLUTTER_CHANNEL="stable"
101+ ENV FLUTTER_VERSION="2.2.1"
102+ ENV FLUTTER_URL="https://storage.googleapis.com/flutter_infra/releases/$FLUTTER_CHANNEL/linux/flutter_linux_$FLUTTER_VERSION-$FLUTTER_CHANNEL.tar.xz"
103+ ENV FLUTTER_HOME="/opt/flutter"
104+
105+ RUN curl -o flutter.tar.xz $FLUTTER_URL \
106+ && mkdir -p $FLUTTER_HOME \
107+ && tar xf flutter.tar.xz -C /opt \
108+ && rm flutter.tar.xz
109+
110+ ENV PATH=$PATH:$FLUTTER_HOME/bin
111+
112+ RUN flutter config --no-analytics \
113+ && flutter precache \
114+ && yes "y" | flutter doctor --android-licenses \
115+ && flutter doctor \
116+ && flutter update-packages
117+
99118VOLUME /root/.gradle
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ Contains:
88- Latest 8 Android version SDKs + Platform CLI tools
99- gcloud CLI tool
1010- danger-kotlin
11+ - Flutter 2.2.3 binaries
1112
You can’t perform that action at this time.
0 commit comments