mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-01-20 20:33:57 +08:00
13 lines
389 B
Plaintext
Executable File
13 lines
389 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
if [ ! -f "/flutter/bin/flutter" ]; then
|
|
echo "**** Installing Flutter ****"
|
|
git clone https://github.com/flutter/flutter.git -b beta --depth 1 /flutter
|
|
ln -s /flutter/bin/flutter /usr/bin/flutter
|
|
flutter doctor
|
|
flutter config --enable-web
|
|
flutter config --no-analytics
|
|
else
|
|
echo "**** Flutter already installed, skipping ****"
|
|
fi
|