juju deploy mattermost-charmers-mattermost
Images are built via an OCI Recipe on Launchpad and pushed to mattermostcharmers/mattermost on dockerhub. Each image is tagged with the version number of Mattermost that it was built with (e.g.
5.29.0 ). The images published there are built using this Dockerfile.
Plugins are also managed via the image build. The image builder does not enable any additional plugins by default, but examples of enabling prepackaged and downloaded plugins via the
image_flavour build argument can be found on line 32 of the Dockerfile.
Local Image Builds
git clone https://git.launchpad.net/~mattermost-charmers/charm-k8s-mattermost/+git/image-build mattermost-image-build docker build -t localhost:32000/mattermost ./mattermost-image-build docker push localhost:32000/mattermost
Then, to use your new image, either replace the
deploy step above with
juju deploy ./charm-k8s-mattermost/mattermost.charm --config mattermost_image_path=localhost:32000/mattermost:latest mattermost
or, if you’ve already deployed mattermost:
juju config mattermost mattermost_image_path=localhost:32000/mattermost:latest
Help us improve this documentation
Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.
Last updated 5 months ago. Help improve this document in the forum.