Closed AndreyMZ closed 3 years ago
This Dockerfile
is meant to be used AFTER a build of nancy
itself, hence the copy nancy /
. We use the Dockerfile in goreleaser, and it runs after we've built the executables we need. It's not meant to be used locally, as we publish these images to Dockerhub. The reason we have a builder image is not to build Nancy, but to copy the ca-certs etc... into the scratch image for use. To this point, this is why there is no "build with Docker" instructions in our README.
Images available here, ps: https://hub.docker.com/r/sonatypecommunity/nancy
OK, then this issue is not a bug, but feature request:
go build
is not enough, because local environment may differ from the Docker one (e.g. Windows vs Linux).go
locally.
Steps to reproduce
Actual result
Expected result
No errors.
cc @bhamail / @DarthHater