UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Plugins
Mattermost Admin Plugin
Commits
34acab3b
Commit
34acab3b
authored
May 26, 2021
by
Ajith Gudem
Browse files
Upgrading to MM base image 5.34.2 - to avoid mmctl issues
parent
af666079
Pipeline
#279897
passed with stages
in 5 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Dockerfile
Dockerfile
+5
-4
No files found.
Dockerfile
View file @
34acab3b
...
...
@@ -13,7 +13,7 @@ COPY mil.dso.p1.mattermost-admin-plugin-1.0.3-rc.tar.gz .
# COPY linux_amd64.tar .
# RUN tar xvf linux_amd64.tar
FROM
registry1.dso.mil/ironbank/opensource/mattermost/mattermost:5.
27.0
FROM
registry1.dso.mil/ironbank/opensource/mattermost/mattermost:5.
34.2
# FROM registry1.dso.mil/ironbank/google/golang/golang-1.16:1.16
# FROM registry1.dso.mil/ironbank/docker/scratch:ironbank
...
...
@@ -30,11 +30,12 @@ COPY --from=builder /tmp/mil.dso.p1.mattermost-admin-plugin-1.0.3-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
#
RUN
sudo
mkdir
-p
/home/mattermost
#
RUN
sudo
chown mattermost:mattermost /home/mattermost
# The base image sets the UID to mattermost
# USER 1001
USER
2000
#
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment