cirruslabs / docker-images-flutter

Docker Images for Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image working with database tests

BetterB0y opened this issue · comments

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.