Skip to content
This repository was archived by the owner on Aug 4, 2020. It is now read-only.

MGMT-1609 Container image migration from Ubuntu based OS to CentOS#495

Open
jparrill wants to merge 4 commits into
filanov:masterfrom
jparrill:rfe/revamp_docker_build
Open

MGMT-1609 Container image migration from Ubuntu based OS to CentOS#495
jparrill wants to merge 4 commits into
filanov:masterfrom
jparrill:rfe/revamp_docker_build

Conversation

@jparrill

@jparrill jparrill commented Jul 28, 2020

Copy link
Copy Markdown
Collaborator

Additions:

  • Collateral work comming from MGMT-1609 in order to get the image working on openshift/release platform
  • Adding Podman support on make execution using CE=podman make unit-test

@jparrill jparrill force-pushed the rfe/revamp_docker_build branch 6 times, most recently from d2012ef to 1c9921b Compare July 29, 2020 06:18
@romfreiman romfreiman requested review from eranco74 and filanov July 29, 2020 06:25
Comment thread Dockerfile.bm-inventory-build Outdated
Comment thread Makefile Outdated
@jparrill jparrill force-pushed the rfe/revamp_docker_build branch 6 times, most recently from 3970510 to 5abd7d0 Compare July 29, 2020 12:49
@jparrill jparrill force-pushed the rfe/revamp_docker_build branch from 5abd7d0 to 1ea9827 Compare July 29, 2020 13:01
@jparrill jparrill force-pushed the rfe/revamp_docker_build branch from 1ea9827 to bdeea33 Compare July 29, 2020 14:23
@jparrill

Copy link
Copy Markdown
Collaborator Author

Don't merge it yet, I still need to modify the Dockerfile in order to meet the openshift/release needs and this involves to use UBI or CentOS as BaseOS on FROM field. For both I need to validate the right repositories

@jparrill jparrill changed the title MGMT-1609 Container image migration from Ubuntu based OS to Fedora MGMT-1609 Container image migration from Ubuntu based OS to CentOS Jul 31, 2020
@jparrill jparrill force-pushed the rfe/revamp_docker_build branch from eb68d80 to 4aa99c8 Compare July 31, 2020 08:31
@@ -1,15 +1,35 @@
FROM golang:1.14.3
FROM centos:7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My contention would be that ubi (and ubi8 for that matter) would be the best choice to use upstream as it would most closely resemble d/s builds.

Suggested change
FROM centos:7
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But aren't you able to override the FROM for the purposes of prow builds?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants