Skip to content

Add a Dockerfile for CentOS 8#29

Merged
bk2204 merged 1 commit intogit-lfs:masterfrom
bk2204:centos-8
Oct 14, 2019
Merged

Add a Dockerfile for CentOS 8#29
bk2204 merged 1 commit intogit-lfs:masterfrom
bk2204:centos-8

Conversation

@bk2204
Copy link
Member

@bk2204 bk2204 commented Oct 9, 2019

CentOS 8 is now released and has Docker images, so build a Docker image for it.

CentOS 8 is now released and has Docker images, so build a Docker image
for it.
@bk2204 bk2204 requested a review from a team October 9, 2019 19:56
@andyneff
Copy link
Collaborator

andyneff commented Oct 9, 2019

Why is the docker_setup section missing?

@bk2204
Copy link
Member Author

bk2204 commented Oct 10, 2019

It wouldn't run except with as yet unmerged code, since the RPM build process would fail for anything but the latest version. And as mentioned in the comment, master would be a bad idea.

I'm fine with restoring it after the first release, although I'm also fine with not doing so, since when we build on GitHub Actions, we don't cache the Docker images: we build them once and use them once.

@andyneff
Copy link
Collaborator

That's a good point, without docker cache there is no benefit.

Copy link

@PastelMobileSuit PastelMobileSuit left a comment

Choose a reason for hiding this comment

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

@bk2204 bk2204 merged commit 322a305 into git-lfs:master Oct 14, 2019
@bk2204 bk2204 deleted the centos-8 branch October 14, 2019 18:34
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Dec 27, 2022
In commit cd3e92e of PR git-lfs#480 we
introduced support for CentOS 6 into our rpm/build_rpms.bsh script by
building an early version of Git from a local git.spec file.  Then in
commit d2d90a8 of PR git-lfs#891 this was
replaced with installation from the setup.ius.io service.

In commit git-lfs/build-dockers@7af5552
of PR git-lfs/build-dockers#19, however, the download and installation
of Git 2.16 from github.com was added to the CentOS 6 Dockerfile; later
this was adjusted to download from kernel.org.

In commit git-lfs/build-dockers@f1f573f
of PR git-lfs/build-dockers#29 we added support for CentOS 8, which
supports a direct installation of Git using yum.

And in commit git-lfs/build-dockers@898d9b0
of PR git-lfs/build-dockers#33 we dropped support for CentOS 6 entirely.

Therefore we no longer have any need for our rpm/build_rpms.bsh script
to install Git at all, especially not very old versions, so we simply
remove that logic from our script.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Dec 27, 2022
In commit cd3e92e of PR git-lfs#480 we
introduced support for CentOS 6 into our rpm/build_rpms.bsh script by
building an early version of Git from a local git.spec file.  Then in
commit d2d90a8 of PR git-lfs#891 this was
replaced with installation from the setup.ius.io service.

In commit git-lfs/build-dockers@7af5552
of PR git-lfs/build-dockers#19, however, the download and installation
of Git 2.16 from github.com was added to the CentOS 6 Dockerfile; later
this was adjusted to download from kernel.org.

In commit git-lfs/build-dockers@f1f573f
of PR git-lfs/build-dockers#29 we added support for CentOS 8, which
supports a direct installation of Git using yum.

And in commit git-lfs/build-dockers@898d9b0
of PR git-lfs/build-dockers#33 we dropped support for CentOS 6 entirely.

Therefore we no longer have any need for our rpm/build_rpms.bsh script
to install Git at all, especially not very old versions, so we simply
remove that logic from our script.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Dec 28, 2022
In commit cd3e92e of PR git-lfs#480 we
introduced support for CentOS 6 into our rpm/build_rpms.bsh script by
building an early version of Git from a local git.spec file.  Then in
commit d2d90a8 of PR git-lfs#891 this was
replaced with installation from the setup.ius.io service.

In commit git-lfs/build-dockers@7af5552
of PR git-lfs/build-dockers#19, however, the download and installation
of Git 2.16 from github.com was added to the CentOS 6 Dockerfile; later
this was adjusted to download from kernel.org.

In commit git-lfs/build-dockers@f1f573f
of PR git-lfs/build-dockers#29 we added support for CentOS 8, which
supports a direct installation of Git using yum.

And in commit git-lfs/build-dockers@898d9b0
of PR git-lfs/build-dockers#33 we dropped support for CentOS 6 entirely.

Therefore we no longer have any need for our rpm/build_rpms.bsh script
to install Git at all, especially not very old versions, so we simply
remove that logic from our script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants