dropbear-software / todart

Example full stack Dart research project of a very over engineered Todo list application
MIT License
0 stars 1 forks source link

Dart protoc plugin isn't installed correctly by default #12

Closed mark-dropbear closed 3 years ago

mark-dropbear commented 3 years ago

Currently we try to install the plugin via the Dockerfile using this line:

RUN /home/${USERNAME}/.local/flutter/bin/dart pub global activate protoc_plugin

However, this runs as root and when you try to use it on booting the container you will get an error message like so:

protoc-gen-dart: Plugin failed with status code 1.

Investigate other methods like the devcontainer.json postCreate commands for example.