From 336daa35380343dcc767cbcc79aa66e27a9c8f28 Mon Sep 17 00:00:00 2001 From: tylersd Date: Fri, 23 Apr 2021 16:38:12 +0000 Subject: [PATCH] Update Dockerfile, plugin_manifest.yaml files --- Dockerfile | 19 +++++++++++++++++++ plugin_manifest.yaml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 Dockerfile create mode 100644 plugin_manifest.yaml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6fbe960 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE_REGISTRY=registry1.dso.mil/ironbank +ARG BASE_IMAGE=redhat/ubi/ubi8 +ARG BASE_TAG=8.3 + +FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} AS builder + +WORKDIR /app + +COPY v1.0.2-rc.tar.gz . + +RUN tar xzvf v1.0.2-rc.tar.gz + +FROM registry1.dso.mil/ironbank/docker/scratch:ironbank + +COPY --from=builder /app/ . + +USER 1001 + +HEALTHCHECK NONE diff --git a/plugin_manifest.yaml b/plugin_manifest.yaml new file mode 100644 index 0000000..f58070e --- /dev/null +++ b/plugin_manifest.yaml @@ -0,0 +1,33 @@ +--- +apiVersion: v1 + +# The repository name in repo1, excluding /ironbank-plugins +plugin-name: "p1-admin-mattermost-plugin" + +# The plugin version. +version: "1.0.2-rc" + +# Provide a list of keywords which will be associated +# with the plugin. This will allow users to search +# the ironbank website for particular plugins. +keywords: +- Mattermost +- Admin +- Plugin + +# Include the plugin files to download +resources: +- url: https://code.il2.dso.mil/platform-one/enterprise-collaboration/mattermost-plugins/admin-plugin/uploads/1c9a014cd159b77ebb78c84742da4a3d/mattermost-admin-plugin-1.0.2-rc.tar.gz + filename: v1.0.2-rc.tar.gz + validation: + type: sha256 + value: 9f300373f814db6509002a18bf7009096f76166fb9b017f0c011a2371b48b0a4 + +# Include plugin maintainer info +maintainers: +- email: "tyler.dansby@centauricorp.com" + name: Pipelines Bo$$ Baby 2 + username: tylersd + + +#https://github.com/mattermost/mattermost-plugin-jira/releases/download/v3.0.0/jira-3.0.0.tar.gz -- GitLab