diff --git a/Dockerfile b/Dockerfile index 1274f6700a350f12b467d5266ac0b30efa5ab8d6..a02bfcdb3c79a3ae5eeae9bf89cc3974506ba7c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,12 +71,6 @@ RUN dnf update --setopt=tsflags=nodocs -y \ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -LABEL org.opencontainers.image.title="php" \ - org.opencontainers.image.description="PHP is a popular general-purpose scripting language that is especially suited to web development." \ - org.opencontainers.image.licenses="PHP-3.01" \ - org.opencontainers.image.url="https://www.php.net/" \ - org.opencontainers.image.version="7.3.25" \ - maintainer="cht@dsop.io" ENV PHP_INI_PATH=/usr/local/etc/php RUN mkdir -p ${PHP_INI_PATH}/conf.d /usr/local/etc/php-fpm.d /usr/local/var/log/php-fpm \ && chown -R 1001:1001 /usr/local/var/log/php-fpm/ \ diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index b6a0c0cf3947407ce09c97695de69adfa41d762a..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline(version: '7.3.25') diff --git a/download.yaml b/download.yaml deleted file mode 100644 index b5dad1a275910257c82d9874e9e01cb129280d8f..0000000000000000000000000000000000000000 --- a/download.yaml +++ /dev/null @@ -1,23 +0,0 @@ -resources: - - url: "https://github.com/php/php-src/archive/php-7.3.25.tar.gz" - filename: "php.tar.gz" - validation: - type: "sha256" - value: "4c7599a3e8005630824823e67b36b1b482728a81606be1e9955ce0cb178aaa86" - - url: "https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz" - filename: "libsodium.tar.gz" - validation: - type: "sha256" - value: "6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1" - - url: "http://ftp.gnu.org/gnu/bison/bison-3.5.4.tar.gz" - filename: "bison.tar.gz" - validation: - type: "sha256" - value: "c0dd154dfaba63553a892d41dc400c7baa88cc06a1e2e27813fdd503715e4c28" - - url: "https://ftp.gnu.org/gnu/texinfo/texinfo-6.7.tar.gz" - filename: "textinfo.tar.gz" - validation: - type: "sha256" - value: "a52d05076b90032cb2523673c50e53185938746482cf3ca0213e9b4b50ac2d3e" - - diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f254815b4178925579c6a143d7e445943b2dce9c --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,68 @@ +--- +apiVersion: v1 + +# The repository name in registry1, excluding /ironbank/ +name: "opensource/php/php73" + +# 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: +- "7.3.27" +- "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: "php73" + # Human-readable description of the software packaged in the image + org.opencontainers.image.description: "PHP is a popular general-purpose scripting language that is especially suited to web development." + # License(s) under which contained software is distributed + org.opencontainers.image.licenses: "PHP-3.01" + # URL to find more information on the image + org.opencontainers.image.url: "https://www.php.net/" + # Name of the distributing entity, organization or individual + org.opencontainers.image.vendor: "The PHP Group" + org.opencontainers.image.version: "7.3.27" + # Keywords to help with search (ex. "cicd,gitops,golang") + mil.dso.ironbank.image.keywords: "FIXME" + # 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: "php" + +# List of resources to make available to the offline build context +resources: +- filename: php.tar.gz + url: https://github.com/php/php-src/archive/php-7.3.27.tar.gz + validation: + type: sha256 + value: d46f4ab1cb058f433c68ea2b92b2841aa22e20a62237304a3df453f5d7c964ab +- filename: libsodium.tar.gz + url: https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz + validation: + type: sha256 + value: 6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1 +- filename: bison.tar.gz + url: http://ftp.gnu.org/gnu/bison/bison-3.5.4.tar.gz + validation: + type: sha256 + value: c0dd154dfaba63553a892d41dc400c7baa88cc06a1e2e27813fdd503715e4c28 +- filename: textinfo.tar.gz + url: https://ftp.gnu.org/gnu/texinfo/texinfo-6.7.tar.gz + validation: + type: sha256 + value: a52d05076b90032cb2523673c50e53185938746482cf3ca0213e9b4b50ac2d3e + +# List of project maintainers +maintainers: +- email: "seagren.tim@solute.us" + # The name of the current container owner + name: "Tim Seagren" + # The gitlab username of the current container owner + username: "seagren.tim" + cht_member: true diff --git a/renovate.json b/renovate.json index adeda589e9d4e054f74fe1bf867ed38b175510e4..c241b89a48b0880e4457c3a3dd5b8a9160566962 100644 --- a/renovate.json +++ b/renovate.json @@ -1,10 +1,18 @@ { - "assignees": ["@seagren.tim"], - "baseBranches": ["development"], + "assignees": [ + "@seagren.tim" + ], + "baseBranches": [ + "development" + ], "packageRules": [ { - "datasources": ["github-releases"], - "packageNames": ["php/php-src"], + "datasources": [ + "github-releases" + ], + "packageNames": [ + "php/php-src" + ], "separateMinorPatch": true, "minor": { "enabled": false @@ -13,7 +21,9 @@ ], "regexManagers": [ { - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "version=\"(?.*?)\"" ], @@ -21,12 +31,24 @@ "datasourceTemplate": "github-releases" }, { - "fileMatch": ["^Jenkinsfile$"], + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "org\\.opencontainers\\.image\\.version:\\s+\"(?.+?)\"" + ], + "depNameTemplate": "php/php-src", + "datasourceTemplate": "github-releases" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], "matchStrings": [ - "version:\\s+\"(?.*?)\"" + "tags:\\s+-\\s+\"(?.+?)\"" ], "depNameTemplate": "php/php-src", "datasourceTemplate": "github-releases" } ] -} +} \ No newline at end of file