mirror of https://github.com/docker/compose.git
e6597d6139
We pass the directory to build to the `go build` command |
||
---|---|---|
backend/v1 | ||
cli | ||
client | ||
containers/v1 | ||
context | ||
example/backend | ||
scripts/setup | ||
server | ||
util | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
setup-dev.sh |
README.md
Docker API
Dev Setup
To setup a development machine to update the API protobufs, first run the ./setup-dev.sh
script
to install the correct version of protobufs on your system and get the protobuild binary.
Building the API Project
> make
Build the example backend
The example backend code is located in /example/backend
.
Build the service with the resulting binary placed in the /bin
directory.
> make example