gogrpc logo

puppet/gogrpc

By puppet

Updated over 3 years ago

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

Image
2

10K+

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

Docker Pull Command

docker pull puppet/gogrpc