cirruslabs / docker-images-flutter

Docker Images for Flutter
MIT License
433 stars 139 forks source link

Image working with database tests #251

Closed BetterB0y closed 1 year ago

BetterB0y commented 1 year ago

I use pipeline in Bitbucket with your images. Unfortunately to properly work with floor database I need to run this: apt-get update && apt-get install -y libsqlite3-dev

Without libsqlite3-dev I'm getting this error:

00:28 +81 -1: /opt/atlassian/pipelines/agent/build/......                                                                             
  SqfliteFfiException(error, Invalid argument(s): Failed to load dynamic library '[libsqlite3.so](http://libsqlite3.so/)': [libsqlite3.so](http://libsqlite3.so/): cannot open shared object file: No such file or directory}) DatabaseException(Invalid argument(s): Failed to load dynamic library '[libsqlite3.so](http://libsqlite3.so/)': [libsqlite3.so](http://libsqlite3.so/): cannot open shared object file: No such file or directory)
  package:sqflite_common_ffi/src/method_call.dart 123:9  responseToResultOrThrow
  package:sqflite_common_ffi/src/isolate.dart 33:12      SqfliteIsolate.handle

I don't know if it's common case, but it would be really helpful if you could just add this two commands to every build to DockerHub.