Not so seasoned in Go, but is there a way to roll just the binary to then drop into an empty docker container? Or is the binary dependent on libraries for sqlite?
I've tried doing this, but the binary fails to execute when launching in an empty container without golang installed.
install: deps
@echo "--> Build and install binary"
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -tags netgo -ldflags $(GOLDFLAGS) ./... -o tornote tornote/main.go
Not so seasoned in Go, but is there a way to roll just the binary to then drop into an empty docker container? Or is the binary dependent on libraries for sqlite?
I've tried doing this, but the binary fails to execute when launching in an empty container without golang installed.