Hi,
as the new middleware (indaex) is getting more mature I decided to publish a github action that builds a docker image for the aeternity node including indaex as plugin:
The github action will build and push the image with the version of node and indaex defined in the Dockerfile when a new push to the main branch occurs. I will always provide a new docker image if a new version of node or indaex is released. You can find the image here:
As I am not familiar with the build process of Erlang and Elixir applications I am not sure what’s the best way to build this. I used the original Dockerfile of indaex (ae_mdw/Dockerfile at master · aeternity/ae_mdw · GitHub) as template but I am not really satisfied with it.
Does ae_plugin (GitHub - aeternity/ae_plugin: Simple setup-based AE node bootstrap app for plugin development) currently require a specific folder structure?
Maybe someone can explain a bit deeper how to build and run the node including one or multiple plugins for production use. I want to provide a smaller image and run the container as non-root user, too. When I compare the “official” node image (~90mb) vs the image I built (~554mb) this can also be optimized a lot.
Maybe someone of the team can advise me how to build a production release for node + plugins. @uwiger @karol.chain @dincho.chain
I am also planning to provide helm-charts and instructions how to deploy the node in a kubernetes environment using a DB backup to minimize the sync time.