BCDevOps / backup-container

A simple container for a simple backup strategy.
Apache License 2.0
39 stars 56 forks source link

Update OCP build configuration template #117

Closed WadeBarnes closed 8 months ago

WadeBarnes commented 8 months ago

The OCP build configuration template provided in the project contains an override for the base image to be used for the build. The default override is the older CentOS based image. The associated Dockerfile has since been updated to use a Fedora base image, and the two images use different package managers which causes issues when a non-Fedora based image is used.

https://github.com/BCDevOps/backup-container/blob/621bb53f9d1d2a577a3d923df37a207c16310d57/openshift/templates/backup/backup-build.yaml#L70-L74

https://github.com/BCDevOps/backup-container/blob/621bb53f9d1d2a577a3d923df37a207c16310d57/docker/Dockerfile#L2

The line that causes the build to fail is here: https://github.com/BCDevOps/backup-container/blob/621bb53f9d1d2a577a3d923df37a207c16310d57/docker/Dockerfile#L37

ToDo:

WadeBarnes commented 8 months ago

cc @jleach, @StevenBarre, @hannah-macdonald1