Vendor dependencies and add Makefile & Dockerfile #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey. I want to run Ana in docker on my machines. I made a few changes to be able to run Ana inside docker:
make
builds a binary./ana
make clean
removes./ana
andana
from$GOPATH/bin
make fmt
runsgo fmt
on the projectmake vet
runsgo vet
on the projectmake errcheck
runsgo errcheck
on the project and downloads errcheck if not in $PATHmake lint
runsgolint
on the project and downloads golint if not in $PATHmake test
runsgo test
in every Go package and creates acoverage.out
for code coverage e.g. with coverall or codecovmake install
creates a static binary in$GOPATH/bin
make build
creates a static binary./ana
make docker
creates a docker images, currently in my own namespace, you should create an organization for this project 😊log.Fatal
if there's no.env
because I want to inject config variables via env from outside the docker container and there won't be an.env
If you have any question left please ask. I just put everything inside this one big PR. I can also split stuff apart.
EDIT: Should I update the PR with changes to README.md or put into another PR?