Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷Fix the codespace by upgrading the docker image #297

Merged
merged 2 commits into from
Sep 13, 2023
Merged

👷Fix the codespace by upgrading the docker image #297

merged 2 commits into from
Sep 13, 2023

Conversation

ouvreboite
Copy link
Contributor

@ouvreboite ouvreboite commented Sep 9, 2023

Currently, starting the example in the Codespace does not work:

# cd example/
# flutter run -d web-server --web-hostname=0.0.0.0
Downloading Web SDK...                                           2,735ms
Downloading CanvasKit...                                         1,107ms
Running "flutter pub get" in example...
Resolving dependencies... 
The current Dart SDK version is 2.19.4.

Because maplibre_gl_example requires SDK version >=3.0.0 <4.0.0, version solving failed.

To have a dart 3.x image, we need to move away from cirrusci/flutter, as it's deprecated. The recommended replacement is ghcr.io/cirruslabs/flutter

Cf message on cirrusci/flutter docker image: https://hub.docker.com/r/cirrusci/flutter

DEPRECATED
New releases available at https://github.com/cirruslabs/docker-images-flutter/pkgs/container/flutter

ouvreboite and others added 2 commits September 9, 2023 10:25
- cirrusci/flutter is deprecated and is flutter 2.x
- cirruslabs/flutter is the recommended replacement and provide flutter 3.x
@m0nac0
Copy link
Collaborator

m0nac0 commented Sep 13, 2023

Thank you!

@m0nac0 m0nac0 enabled auto-merge (squash) September 13, 2023 16:15
@m0nac0 m0nac0 merged commit 44adf1d into maplibre:main Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants