Closed williamdes closed 4 years ago
https://github.com/p4tin/goaws/blob/4d29b1e517cb9a050e9687f8f59a64c3dc3c1875/Dockerfile#L13
https://github.com/gliderlabs/docker-alpine/issues/12
go build -o goaws app/cmd/goaws.go > CGO_ENABLED=0 go build -o goaws app/cmd/goaws.go
go build -o goaws app/cmd/goaws.go
CGO_ENABLED=0 go build -o goaws app/cmd/goaws.go
CGO_ENABLED=0 is needed so an alpine image can run the executable
CGO_ENABLED=0
https://github.com/p4tin/goaws/blob/4d29b1e517cb9a050e9687f8f59a64c3dc3c1875/Dockerfile#L13
https://github.com/gliderlabs/docker-alpine/issues/12
go build -o goaws app/cmd/goaws.go
>CGO_ENABLED=0 go build -o goaws app/cmd/goaws.go
CGO_ENABLED=0
is needed so an alpine image can run the executable