Giter Site home page Giter Site logo

plugfox / docker_flutter Goto Github PK

View Code? Open in Web Editor NEW
52.0 7.0 8.0 87 KB

Alpine Linux image for Flutter & Dart with helpful utils and web build support.

Home Page: https://hub.docker.com/r/plugfox/flutter

License: MIT License

Dockerfile 77.94% Makefile 20.01% Shell 2.06%
docker flutter dart dockerfile alpine alpine-linux ci-cd hub web android

docker_flutter's Introduction

Flutter docker image

BUILD AND PUBLISH BRANCHES GitHub Docker License: MIT

Alpine Linux images for Flutter & Dart with useful utils and web build support.
Symlinks to dart, flutter in the folder: /opt/flutter
Rolling release update strategy every Monday.

Environment variables

  • USER: root
  • WORKDIR: /build
  • SHELL: /bin/bash
  • FLUTTER_ROOT: /opt/flutter
  • PUB_CACHE: /var/tmp/.pub_cache
  • ANDROID_HOME: /opt/android

docker_flutter's People

Contributors

doumanash avatar plugfox avatar zs-dima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker_flutter's Issues

Publish 2.10.5?

I know there is new 3.x verison, but considering how buggy flutter is, I think it would be nice to have latest 2.x version available as image

web image version not found

hi,

currently the web image is available via the stable-web tag.
would it be possible to tag the web image with the flutter version as well ( i.e. 2.5.3-web)?

Warmed up flutter for web

I wonder if you would be ok to introduce flutter-warmed wnich would prepare flutter image to web development by running:

flutter upgrade
flutter precache --no-ios --no-linux --no-windows --no-winuwp --no-macos --no-fuchsia --universal --web

This will be a good option for user to have flutter ready from start instead of waiting for image to build and download related tools
It will relatively fatten up docker image but this is expected in the same way as for android variant.

It is not a big deal though as I can prepare my own image based on yours, but I just wanted to suggest it as convenience

Image for linux development

Hi!
I wander if it would be a trouble to get another tag for flutter ready for linux apps.
thanks in advance

Warm up Android image is not fully ready to build apk

This is a not per se request, but I was wondering if you avoided intentionally fully installing all necessary requirements for build.
Right now warmed image automatically downloads following:

Preparing "Install Android SDK Tools (revision: 26.1.1)".
"Install Android SDK Tools (revision: 26.1.1)" ready.
Installing Android SDK Tools in /opt/android/tools
"Install Android SDK Tools (revision: 26.1.1)" complete.
"Install Android SDK Tools (revision: 26.1.1)" finished.
Checking the license for package Android SDK Build-Tools 28.0.3 in /opt/android/licenses
License for package Android SDK Build-Tools 28.0.3 accepted.
Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.
Installing Android SDK Build-Tools 28.0.3 in /opt/android/build-tools/28.0.3
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.
Checking the license for package Android SDK Platform 28 in /opt/android/licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
"Install Android SDK Platform 28 (revision: 6)" ready.
Installing Android SDK Platform 28 in /opt/android/platforms/android-28
"Install Android SDK Platform 28 (revision: 6)" complete.
"Install Android SDK Platform 28 (revision: 6)" finished.
Checking the license for package Android SDK Platform 30 in /opt/android/licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision: 3)".
"Install Android SDK Platform 30 (revision: 3)" ready.
Installing Android SDK Platform 30 in /opt/android/platforms/android-30
"Install Android SDK Platform 30 (revision: 3)" complete.
"Install Android SDK Platform 30 (revision: 3)" finished.
Checking the license for package Android SDK Platform 29 in /opt/android/licenses
License for package Android SDK Platform 29 accepted.
Preparing "Install Android SDK Platform 29 (revision: 5)".
"Install Android SDK Platform 29 (revision: 5)" ready.
Installing Android SDK Platform 29 in /opt/android/platforms/android-29
"Install Android SDK Platform 29 (revision: 5)" complete.
"Install Android SDK Platform 29 (revision: 5)" finished.

I noticed you commented out some of these here https://github.com/PlugFox/docker_flutter/blob/master/dockerfiles/flutter_android_warmed.dockerfile#L35

Is it making image too heavy or what was a reason to comment it out?

Observe flutter tags with git

Build specific version at major versions.

git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' \
  --tags https://github.com/flutter/flutter.git '*.*.*' \
  | cut -d '/' -f 3 \
  | grep -e "^[0-9]\+\.[0-9]\+\.[0-9]\+$" \
  | tail -n 1

Image tag for specific Flutter versions

At the moment (for my project) requires "plugfox/flutter:3.16.3-web".

Tagged image with version is best practice for production.

When using image last stable, if Flutter is released, the project may not be ready to build and/or runtime with new Flutter.

Publish 3.16.4-web

Hey. Could you run the pipeline for 3.16.4-web? I would be very grateful

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.