CenturyLinkLabs / golang-builder

Containerized build environment for compiling an executable Golang package and packaging it in a light-weight Docker container.
Apache License 2.0
398 stars 85 forks source link

Added MAIN_PATH and DOCKER_BUILD_CONTEXT customizable parameters #24

Closed matt-deboer closed 6 years ago

matt-deboer commented 8 years ago

This is my rough stab at implementing this:

In a future release, we may make this a configurable option in order to support projects with different directory structures.

I'm using this successfully with a project building multiple binaries, each into their own docker image. What do you think?

darh commented 6 years ago

Can someone merge this?