UNCLASSIFIED

Commit 6ad6c122 authored by Ajith Gudem's avatar Ajith Gudem
Browse files

Fixes post integration test- mmctl needs /home/mattermost directory and the...

Fixes post integration test- mmctl needs /home/mattermost directory and the other ENTRYPOINT might be cleaner to pass in args as environment variables
parent fd7f238d
Pipeline #279858 failed with stages
in 1 minute and 30 seconds
......@@ -29,13 +29,16 @@ COPY --from=builder /tmp/mattermost-admin-plugin-1.0.2-rc.tar.gz .
COPY --from=builder /tmp/install-mattermost-plugin.sh .
# COPY --from=builder /tmp/call_mm_plugin_installer.sh .
RUN mkdir /home/mattermost
RUN chown mattermost:mattermost /home/mattermost
# USER 1001
USER 2000
# the entrypoint script calls the main installer which uses ENV vars for token and url to contact the target and install the plugin
# old - ENTRYPOINT [ "./call_mm_plugin_installer.sh" ]
ENTRYPOINT [ "./install-mattermost-plugin.sh" ]
ENTRYPOINT [ "./call_mm_plugin_installer.sh" ]
# ENTRYPOINT [ "./install-mattermost-plugin.sh" ]
# ENTRYPOINT ["tail", "-f", "/dev/null"]
HEALTHCHECK NONE
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment