UNCLASSIFIED

Commit 99568543 authored by Olga Ojjeh's avatar Olga Ojjeh
Browse files

Merge branch 'initial-dev' into 'development'

Initial Dev

See merge request dsop/opensource/hadolint/handolint!15
parents 37db64f6 aab528c9
Pipeline #264306 canceled with stages
in 1 minute and 58 seconds
ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8-minimal
ARG BASE_TAG=8.3
FROM hadolint/hadolint:v2.4.0 AS base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
RUN microdnf update --nodocs && \
microdnf clean all && \
rm -rf /var/yum/cache
COPY --from=base /bin/hadolint /usr/bin/hadolint
USER 1000
HEALTHCHECK NONE
ENTRYPOINT ["hadolint"]
\ No newline at end of file
This diff is collapsed.
# <application name> # Hadolint
Project template for all Iron Bank container repositories. Hadolint is a tool to lint Dockerfiles. From it's documentation:
\ No newline at end of file `A smarter Dockerfile linter that helps you build best practice Docker images`.
Upstream documentation can be found [here](https://github.com/hadolint/hadolint).
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "opensource/hadolint/hadolint"
tags:
- "v2.4.0"
- "latest"
args:
BASE_IMAGE: "redhat/ubi/ubi8-minimal"
BASE_TAG: "8.3"
labels:
org.opencontainers.image.title: "hadolint"
## Human-readable description of the software packaged in the image
org.opencontainers.image.description: "Hadolint is a tool for linting dockerfiles for best practices"
## License(s) under which contained software is distributed
org.opencontainers.image.licenses: "GPL-3"
## URL to find more information on the image
org.opencontainers.image.url: "https://github.com/hadolint/hadolint"
## Name of the distributing entity, organization or individual
org.opencontainers.image.vendor: "opensource"
org.opencontainers.image.version: "v2.4.0"
## Keywords to help with search (ex. "cicd,gitops,golang")
mil.dso.ironbank.image.keywords: "docker,linter,cicd"
## 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: "hadolint"
resources:
- tag: hadolint/hadolint:v2.4.0
url: docker://docker.io/hadolint/hadolint@sha256:ed22c9de9b884383094edb8930696a256c4450335945c68153d8fc8fbb27bf03
maintainers:
- email: "joshua.t.carnes@lmco.com"
name: "Joshua Carnes"
username: "jcarnes"
- name: "Sean Melissari"
username: "sean.melissari"
email: "melissari_sean@bah.com"
cht_member: true
{
extends: ["config:base"],
baseBranches: ["development"],
regexManagers: [
// tool image updates
{
fileMatch: ["^hardening_manifest.yaml$"],
matchStrings: [
'tags:\\s+-\\s+"(?<currentValue>.+?)"',
"tag: .*:(?<currentValue>.*?)$",
'org\\.opencontainers\\.image\\.version:\\s+"(?<currentValue>.+?)"',
"url: docker://.*@(?<currentDigest>sha256:[a-f0-9]+)",
],
depNameTemplate: "hadolint/hadolint",
datasourceTemplate: "docker",
},
// base image updating
{
fileMatch: ["^hardening_manifest.yaml$$", "^Dockerfile$"],
matchStrings: [
'BASE_TAG: "(?<currentValue>.*?)"',
"BASE_TAG=(?<currentValue>.*?)$",
],
depNameTemplate: "registry1.dso.mil/ironbank/redhat/ubi/ubi8-minimal",
datasourceTemplate: "docker",
},
],
// group our dependencies in one MR as the base image and code image are likely to update at different times
groupName: "all dependencies",
separateMajorMinor: false,
groupSlug: "all",
packageRules: [
{
matchPackagePatterns: ["*"],
groupName: "all dependencies",
groupSlug: "all",
},
],
}
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