As I struggled to find out how to compile a program using go-sqlite3, I changed the Dockerfile a bit so that there is no more need for a build.sh script.
The entrypoint now is the go executable and so the only obvious difference is that you have to provide the "build" command to go.
Additionally I added a last line in Dockerfile which will install go-sqlite3. Since PocketBook makes use of sqlite for its library, I think this is a valuable addition.
There is also an example program sqlitetst which will create a database and fill it with some test data.
Please consider this PR.
As I struggled to find out how to compile a program using go-sqlite3, I changed the Dockerfile a bit so that there is no more need for a build.sh script.
The entrypoint now is the go executable and so the only obvious difference is that you have to provide the "build" command to go.
Additionally I added a last line in Dockerfile which will install go-sqlite3. Since PocketBook makes use of sqlite for its library, I think this is a valuable addition.
There is also an example program sqlitetst which will create a database and fill it with some test data.