HUB
Sign inSign up
gogrpc logo

puppet/gogrpc

By puppet

•Updated about 5 years ago

A container for building golang projects that include protoc and grpc dependancies

Image
2

10K+

puppet/gogrpc repository overview

⁠gogrpc

A Docker container used to build golang projects using GRPC code

⁠Building your project

You can build your project by running the command below:

docker run --rm -v "${PWD}":/go/src/<your app> -w /go/src/<your app> puppetlabs/myapp:latest go build -v

This mounts the current directory to /go/src/ , sets the working directory to /go/src/ and runs go build.

Alternatively if you need to run a few steps such as protoc you can use make i.e. docker run --rm -v "${PWD}":/go/src/<your app> -w /go/src/<your app> puppetlabs/myapp:latest make all

Tag summary
Recent tags
Content type
Image
Digest
Size
495.8 MB
Last updated
about 7 years ago
docker pull puppet/gogrpc:latest