upgrading to custom docker image with plugins

Viewed 324

Hey, i have an apache answer instance deployed with external Postgres, we use the offical docker images and have installed some plugins, we now wish to build the docker images locally in order to have audit about changes in plugins, what is the way to go about it?
also do update of such setup require some extra work ?

1 Answers

You need to specify the plugins that you need when building. If you have modified the plugin, you can specify the repository where your plugin is located. To build with docker you can refer to the following

https://answer.apache.org/docs/plugins/#docker-build

RUN answer build \
    --with github.com/your-plugin-repo \
    --output /usr/bin/new_answer

does changing from the official image with plugins installed via UI to a custom image built with plugins have affects on database or upgrades?

Adding a new plugin will not affect the database or upgrades.