UNCLASSIFIED

Commit 714e9e95 authored by paulqualls's avatar paulqualls
Browse files

Adding new items for building mmctl connection

parent 8917ce3b
Pipeline #236981 passed with stages
in 7 minutes and 54 seconds
......@@ -4,20 +4,33 @@ ARG BASE_TAG=8.3
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} AS builder
WORKDIR /app
WORKDIR /tmp
COPY mattermost-admin-plugin-1.0.2-rc.tar.gz .
RUN tar xzvf mattermost-admin-plugin-1.0.2-rc.tar.gz
# RUN tar xzvf mattermost-admin-plugin-1.0.2-rc.tar.gz
COPY linux_amd64.tar .
RUN tar xvf linux_amd64.tar
FROM registry1.dso.mil/ironbank/docker/scratch:ironbank
FROM registry1.dso.mil/ironbank/google/golang/golang-1.16:1.16
COPY --from=builder /app/ .
# FROM registry1.dso.mil/ironbank/docker/scratch:ironbank
WORKDIR /bin
COPY --from=builder /tmp/mmctl .
WORKDIR /plugin
COPY --from=builder /tmp/mattermost-admin-plugin-1.0.2-rc.tar.gz .
USER 1001
# ENTRYPOINT [ "/bin/mmctl" ]
ENTRYPOINT ["tail", "-f", "/dev/null"]
# CMD ["version"]
HEALTHCHECK NONE
File added
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