diff --git a/Dockerfile b/Dockerfile index 4366857cd9357bdf45adb17ee2eaa8b21589f22e..ca4c82b4eb1d93491554363900bc1b77e6cbe8b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,6 @@ FROM amazon/aws-cli:2.1.9 as cli FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -LABEL org.opencontainers.image.title="aws-cli" \ - org.opencontainers.image.description="Universal Command Line Interface for Amazon Web Services." \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.url="https://github.com/aws/aws-cli" \ - org.opencontainers.image.version="2.1.9" \ - maintainer="ironbank@dsop.io" - COPY --from=cli /usr/local/aws-cli /usr/local/aws-cli RUN groupadd -g 1001 awscli && \ diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index f379cd154ab6e2ad5c8f6580b4c64962aa2bf1f0..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline(version: "2.1.9") diff --git a/download.yaml b/download.yaml deleted file mode 100644 index 338c6a4ef0a05d2a7382e103255eb4c6b6daff9d..0000000000000000000000000000000000000000 --- a/download.yaml +++ /dev/null @@ -1,3 +0,0 @@ -resources: - - url: "docker://docker.io/amazon/aws-cli@sha256:9b9b831b4020d7cc62409148c5ad5ea7b0e621d48ac734381da12aba4baf5091" - tag: "amazon/aws-cli:2.1.9" diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000000000000000000000000000000000000..44a967b2c6eb1a46f2cf63ccfbabec7ee0cfa6db --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,48 @@ +--- +apiVersion: v1 + +# The repository name in registry1, excluding /ironbank/ +name: "opensource/amazon/aws-cli" + +# List of tags to push for the repository in registry1 +# The most specific version should be the first tag and will be shown +# on ironbank.dsop.io +tags: +- "2.1.9" +- "latest" + +# Build args passed to Dockerfile ARGs +args: + BASE_IMAGE: "redhat/ubi/ubi8" + BASE_TAG: "8.3" + +# Docker image labels +labels: + org.opencontainers.image.title: "aws-cli" + ## Human-readable description of the software packaged in the image + org.opencontainers.image.description: "Universal Command Line Interface for Amazon Web Services." + ## License(s) under which contained software is distributed + org.opencontainers.image.licenses: "Apache-2.0" + ## URL to find more information on the image + org.opencontainers.image.url: "https://github.com/aws/aws-cli" + ## Name of the distributing entity, organization or individual + org.opencontainers.image.vendor: "Amazon" + org.opencontainers.image.version: "2.1.9" + ## Keywords to help with search (ex. "cicd,gitops,golang") + mil.dso.ironbank.image.keywords: "aws,cli" + ## This value can be "opensource" or "commercial" + mil.dso.ironbank.image.type: "opensource" + ## Product the image belongs to for grouping multiple images + mil.dso.ironbank.product.name: "aws" + +# List of resources to make available to the offline build context +resources: +- url: "docker://docker.io/amazon/aws-cli@sha256:9b9b831b4020d7cc62409148c5ad5ea7b0e621d48ac734381da12aba4baf5091" + tag: "amazon/aws-cli:2.1.9" + +# List of project maintainers +maintainers: +- name: "Sean Melissari" + username: "sean.melissari" + email: "melissari_sean@bah.com" + cht_member: true diff --git a/renovate.json b/renovate.json index c8f55f2c1638870c2ee681f83e19554d29198016..c1c298f9ca95d7e3fea02b8d0c7814a940ff776a 100644 --- a/renovate.json +++ b/renovate.json @@ -1,9 +1,15 @@ { - "assignees": ["@sean.melissari"], - "baseBranches": ["development"], + "assignees": [ + "@sean.melissari" + ], + "baseBranches": [ + "development" + ], "regexManagers": [ { - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "version=\"(?.*?)\"" ], @@ -11,12 +17,24 @@ "datasourceTemplate": "docker" }, { - "fileMatch": ["^Jenkinsfile$"], + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "org\\.opencontainers\\.image\\.version:\\s+\"(?.+?)\"" + ], + "depNameTemplate": "amazon/aws-cli", + "datasourceTemplate": "docker" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], "matchStrings": [ - "version:\\s+\"(?.*?)\"" + "tags:\\s+-\\s+\"(?.+?)\"" ], "depNameTemplate": "amazon/aws-cli", "datasourceTemplate": "docker" } ] -} +} \ No newline at end of file