How to build docker source code after modifying it?

ThunderWiring

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?

Noamiko

Follow the instructions in this link:

  1. 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.

  2. 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.

  3. 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.

  4. Claim an issue to work on.

    We created a filter listing all open and unclaimed issues for Docker.

  5. 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!

  6. Create a pull request.

    If you make a change to fix an issue, add reference to the issue in the pull request.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How Do You Rebuild In Android Studio After Modifying SDK Source Code?

From Dev

How to get the source code used to build the packages of the base alpine linux docker image?

From Dev

how to specify search directory for source code build

From Dev

How to modifying a source file "file.cs" using an custom auto-generation tool during build process?

From Dev

How to test the container or image after docker build?

From Dev

Translation file still working after modifying the source?

From Java

How do I run a code formatter over my source without modifying git history?

From Dev

How to encrypt docker images or source code in docker images?

From Dev

new to docker,wonder how to read docker's source code?

From Dev

How to encrypt docker images or source code in docker images?

From Dev

Retrieving data after modifying data at cloud code

From Dev

Retrieving data after modifying data at cloud code

From Dev

How to generate on the fly Java source code to build with Gradle in Android Studio?

From Dev

How can I build ejabberd source code in eclipse

From Dev

How can I build KDE Dolphin from its source code?

From Dev

SBT: How to refer to other project source code in build.sbt?

From Dev

How to make a maven build fail if source code contains a keyword / regex

From Dev

How to apply a patch on upstream source code while snapcraft build?

From Dev

How to build libssl.a for iOS from source code?

From Dev

How to build Python 3.4.3 source code with pygame to exe?

From Dev

How to debug why source code labeling fails in VSTS build?

From Dev

How to build axis2c Unofficial source code

From Dev

Pfsense source code to build firewall

From Dev

How to edit source code of a python project deployed in docker

From Dev

How can I automatically run a docker container on/after image build?

From Dev

How to download Docker image after a failed Cloud Build step

From Dev

Modifying source code in Jenkins with npm-check-updates

From Dev

How to build a source package?

From Dev

How to download source code of website after having emulated a button click?

Related Related

  1. 1

    How Do You Rebuild In Android Studio After Modifying SDK Source Code?

  2. 2

    How to get the source code used to build the packages of the base alpine linux docker image?

  3. 3

    how to specify search directory for source code build

  4. 4

    How to modifying a source file "file.cs" using an custom auto-generation tool during build process?

  5. 5

    How to test the container or image after docker build?

  6. 6

    Translation file still working after modifying the source?

  7. 7

    How do I run a code formatter over my source without modifying git history?

  8. 8

    How to encrypt docker images or source code in docker images?

  9. 9

    new to docker,wonder how to read docker's source code?

  10. 10

    How to encrypt docker images or source code in docker images?

  11. 11

    Retrieving data after modifying data at cloud code

  12. 12

    Retrieving data after modifying data at cloud code

  13. 13

    How to generate on the fly Java source code to build with Gradle in Android Studio?

  14. 14

    How can I build ejabberd source code in eclipse

  15. 15

    How can I build KDE Dolphin from its source code?

  16. 16

    SBT: How to refer to other project source code in build.sbt?

  17. 17

    How to make a maven build fail if source code contains a keyword / regex

  18. 18

    How to apply a patch on upstream source code while snapcraft build?

  19. 19

    How to build libssl.a for iOS from source code?

  20. 20

    How to build Python 3.4.3 source code with pygame to exe?

  21. 21

    How to debug why source code labeling fails in VSTS build?

  22. 22

    How to build axis2c Unofficial source code

  23. 23

    Pfsense source code to build firewall

  24. 24

    How to edit source code of a python project deployed in docker

  25. 25

    How can I automatically run a docker container on/after image build?

  26. 26

    How to download Docker image after a failed Cloud Build step

  27. 27

    Modifying source code in Jenkins with npm-check-updates

  28. 28

    How to build a source package?

  29. 29

    How to download source code of website after having emulated a button click?

HotTag

Archive