Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Building Docker image from git source #648
Conversation
|
Any updates regarding this? |
|
Overall I think am ok with this approach, however two concerns come to mind:
cc: @github/backup-utils @github/ghes-infrastructure any thoughts? |
| @@ -1,2 +0,0 @@ | |||
| * | |||
| !share/github-backup-utils/ghe-docker-init | |||
djdefi
Oct 16, 2020
Member
I think we could just delete this entire file.
I think we could just delete this entire file.
|
Thank you for the reply @djdefi I made some changes that address your first comment. Also applied the same patch to the alpine Dockerfile. Any guidance on why the macOS test might be failing? I spent some time trying to figure it out to no avail. |
|
Pinging here again to keep this alive. |


We ran into issues attempting to match the version of backup-utils with the version of GitHub Enterprise we were running. This is because the Dockerfile always pulls the version tagged as "stable", regardless of which version of the repo is checked out.
By building from the git source files, instead of downloading the current release tagged "stable", users will be able to easily select which version of the backup-utils they wish to build.
As it stands, the only way to specify a version would be to roll a custom Dockerfile that either builds from source, or pulls in a specific release tag from
https://github.com/github/backup-utils/archive/.