Skip to content

[proposal] Provide Official DockerHub Image #55006

Closed

Description

@zzj0402

Use case

GitLab CI to pull the image to test and deploy web app.

stages:
  - test
  - deploy

tests:
  image: cirrusci/flutter:stable-web
  stage: test
  script:
    - flutter test

pages:
  image: cirrusci/flutter:stable-web
  stage: deploy
  script:
    - flutter channel master
    - flutter upgrade
    - flutter config --enable-web
    - flutter create .
    - flutter build web
    - mkdir .public
    - cp -r ./build/web/* .public
    - mv .public public
  artifacts:
    paths:
      - public
  only:
    - master

Issue

After run flutter create, the local version flutter test okay. But the CI version returns error. Maybe with an official version, this would not be an issue.

Error

 Compiler message:
 ../lib/main.dart:101:50: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
  - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/home/cirrus/sdks/flutter/packages/flutter/lib/src/material/text_theme.dart').
 Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline4'.
               style: Theme.of(context).textTheme.headline4,
                                                  ^^^^^^^^^
 00:10 +0 -1: loading /builds/zzj0402/geno/test/widget_test.dart [E]                                                                                                                                    
   Failed to load "/builds/zzj0402/geno/test/widget_test.dart":
   Compilation failed
   Test: /builds/zzj0402/geno/test/widget_test.dart
   Shell: /home/cirrus/sdks/flutter/bin/cache/artifacts/engine/linux-x64/flutter_tester

Activity

  1. changed the title [-]DockerHub Image[/-] [+][proposal] Provide Official DockerHub Image[/+] on Apr 17, 2020
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    c: proposalA detailed proposal for a change to Flutter
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Apr 17, 2020
  3. jonahwilliams commented on Apr 18, 2020

    @jonahwilliams
    Contributor

    We have no plans to provide an official DockerHub image

  4. zzj0402 commented on Apr 19, 2020

    @zzj0402
    Author

    We have no plans to provide an official DockerHub image

    Why?

  5. lock commented on May 6, 2020

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked and limited conversation to collaborators on May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions