Fixed build on i386
Fixed dockerfile + base for curl part