rubenv / sql-migrate

SQL schema migration tool for Go.
MIT License
3.18k stars 273 forks source link

Installing in docker using base image golang:1.11.2-alpine gives error #140

Closed prshntsingh2010 closed 5 years ago

prshntsingh2010 commented 5 years ago

Installing in docker using base image golang:1.11.2-alpine gives

The command '/bin/sh -c go get -v github.com/rubenv/sql-migrate/...' returned a non-zero code: 2
prshntsingh2010 commented 5 years ago

If I try installing it in Ubuntu it works fine, Is there any problem with alpine? @rubenv can you help? Screenshot (46)

prshntsingh2010 commented 5 years ago

Using CGO_ENABLED=0 solved the issue.