From 755fc49d4c24f6b21b466f153c3f07b6d9a00ccc Mon Sep 17 00:00:00 2001 From: Gavin Scallon Date: Wed, 17 Jun 2020 18:29:42 -0600 Subject: [PATCH 1/2] add renovate --- Dockerfile | 26 ++++++++++---------------- README.md | 2 -- download.yaml | 2 +- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index baebb9d..3e4db02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,30 +3,24 @@ ARG BASE_REGISTRY=nexus-docker-secure.levelup-dev.io ARG BASE_IMAGE=redhat/ubi/ubi8 ARG BASE_TAG=8.2 -############################################################### -FROM opensource/istio-1.5/galley-1.5/galley:1.5.4 AS base + +FROM istio/galley:1.5.4 AS base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} +LABEL org.opencontainers.image.title="galley" \ + org.opencontainers.image.description="Istio Galley provides configuration management services for Istio." \ + org.opencontainers.image.licenses="Apache-2.0" \ + org.opencontainers.image.url="https://istio.io" \ + org.opencontainers.image.version="1.5.4" \ + maintainer="cht@dsop.io" + COPY --from=base /usr/local/bin/ /usr/local/bin/ RUN dnf update -y && \ dnf clean all && \ rm -rf /var/cache/dnf/ -############################################################### -# Provide label information -LABEL name="istio-galley" \ - maintainer="gavin.scallon@parsons.com" \ - vendor="Open Source" \ - version="1.5.4" \ - release="1" \ - summary="istio-galley" \ - description="Galley provides configuration management services for Istio" -############################################################### -# Run as non-root user USER 1001 -############################################################### -HEALTHCHECK --interval=1m --start-period=30s CMD version -############################################################### + ENTRYPOINT [ "/usr/local/bin/galley" ] diff --git a/README.md b/README.md index ceb8946..4f16c8f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # galley -Version 1.5.4 - # To Build/Run ```bash # Navigate to the download location of the galley tar file obtained from the diff --git a/download.yaml b/download.yaml index 0268316..5b5aeee 100644 --- a/download.yaml +++ b/download.yaml @@ -1,4 +1,4 @@ --- resources: - url: "docker://docker.io/istio/galley@sha256:af917d433ce674fe072f891c0ee581ff1c0165b9827bab4ef2951d9d43dda542" - tag: opensource/istio-1.5/galley-1.5/galley:1.5.4 + tag: "istio/galley:1.5.4" -- GitLab From 5f9de63fe5236d79ff1fd72bb75b6f676cb8d8b0 Mon Sep 17 00:00:00 2001 From: Gavin Scallon Date: Thu, 18 Jun 2020 12:09:54 -0600 Subject: [PATCH 2/2] Add renovate.json --- renovate.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..50cb2dc --- /dev/null +++ b/renovate.json @@ -0,0 +1,33 @@ +{ + "assignees": ["@gavin.scallon"], + "baseBranches": ["development"], + "packageRules": [ + { + "datasources": ["docker"], + "packageNames": ["istio/galley"], + "separateMinorPatch": true, + "minor": { + "enabled": false + } + } + ], + "regexManagers": [ + { + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "version=\"(?.*?)\"" + ], + "depNameTemplate": "istio/galley", + "datasourceTemplate": "docker" + }, + { + "fileMatch": ["^Jenkinsfile$"], + "matchStrings": [ + "version:\\s+\"(?.*?)\"" + ], + "depNameTemplate": "istio/galley", + "datasourceTemplate": "docker" + } + ] + } + \ No newline at end of file -- GitLab