Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Disable cgo so we can use it in an alpine docker image
  • Loading branch information
tuxBurner committed Oct 30, 2019
commit 71a9dc66a6deba352eb7446a9fb595cf45094a42
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ format:

.PHONY: docker
docker:
docker run --rm -v "$$PWD":/go/src/github.com/iamseth/azure_sql_exporter -w /go/src/github.com/iamseth/azure_sql_exporter golang:1.8 bash -c make
docker run --rm -v "$$PWD":/go/src/github.com/iamseth/azure_sql_exporter -e CGO_ENABLED=0 -w /go/src/github.com/iamseth/azure_sql_exporter golang:1.8 bash -c make