Skip to content

Commit

Permalink
Merge pull request #328 from cyberark/update-rh-base-image
Browse files Browse the repository at this point in the history
Update RH base image to UBI
  • Loading branch information
Geri Jennings authored Jun 4, 2021
2 parents 17c4b3d + 85e4985 commit 53271bd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed
- Update RH base image to `ubi8/ubi` instead of `rhel7/rhel`.
[PR cyberark/secrets-provider-for-k8s#328](https://github.com/cyberark/secrets-provider-for-k8s/pull/328)

## [1.1.3] - 2021-03-01

### Added
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ CMD ["/usr/local/bin/dlv", \
"/usr/local/bin/secrets-provider"]

# =================== MAIN CONTAINER (REDHAT) ===================
FROM registry.access.redhat.com/rhel as secrets-provider-for-k8s-redhat
FROM registry.access.redhat.com/ubi8/ubi as secrets-provider-for-k8s-redhat
MAINTAINER CyberArk Software Ltd.

ARG VERSION
Expand Down
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ pipeline {
scanAndReport("secrets-provider-for-k8s:latest", "NONE", true)
}
}
stage('Scan RedHat image for fixable issues') {
steps {
scanAndReport("secrets-provider-for-k8s-redhat:latest", "HIGH", false)
}
}

stage('Scan RedHat image for all issues') {
steps {
scanAndReport("secrets-provider-for-k8s-redhat:latest", "NONE", true)
}
}
}
}

Expand Down
1 change: 1 addition & 0 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ else
--build-arg TAG=$(git_tag) \
--build-arg VERSION="$FULL_VERSION_TAG" \
--tag "secrets-provider-for-k8s-redhat:${FULL_VERSION_TAG}" \
--tag "secrets-provider-for-k8s-redhat:latest" \
--target "secrets-provider-for-k8s-redhat" \
.
fi
Expand Down

0 comments on commit 53271bd

Please sign in to comment.