mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-04 23:35:13 -04:00
switch to hybrid
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if ! which unzip >/dev/null; then
|
||||
echo "**** Adding flutter dependency packages to install list ****"
|
||||
echo "unzip" >> /mod-repo-packages-to-install.list
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-code-server-flutter-add-package/run
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-code-server-flutter-install/run
|
||||
Reference in New Issue
Block a user