Reputation: 738
We're trying to change in the docker source code and re-build it to see the changes
Problem we're not able to build docker form the source code itself.
we tried: make
in the docker directory but we ended with the error(after initializing git by git init
):
fatal: Needed a single revision
make: *** [binary] Error 128
This question didn't help, since we got the error:
fatal: Needed a single revision
invalid upstream origin/master
We checked the issue in docker community, and they suggested to clone the directory form the docker repository and re-build again, but we still can't make
the source.
Question How to build the source code after we modified it?
Upvotes: 3
Views: 375
Reputation: 749
Follow the instructions in this link:
Get the software you need.
This explains how to install a couple of tools used in our development environment. What you need (or don’t need) might surprise you.
Configure Git and fork the repo.
Your Git configuration can make it easier for you to contribute. Configuration is especially key if are new to contributing or to Docker.
Learn to work with the Docker development container.
Docker developers run docker in docker. If you are a geek, this is a pretty cool experience.
Claim an issue to work on.
We created a filter listing all open and unclaimed issues for Docker.
Work on the issue.
If you change or add code or docs to a project, you should test your changes as you work. This page explains how to test in our development environment.
Also, remember to always sign your commits as you work! To sign your commits, include the -s flag in your commit like this:
$ git commit -s -m "Add commit with signature example"
If you don't sign Gordon will get you!
Create a pull request.
If you make a change to fix an issue, add reference to the issue in the pull request.
Upvotes: 1