- `GOARM` should not be hardcoded - `GOARM` needn't be set when the `ARCH` is not `arm` - make it also possible to build binary within `agnhost` dir as well - fix image build failure when the user is root Signed-off-by: Dave Chen <dave.chen@arm.com>
- `GOARM` should not be hardcoded - `GOARM` needn't be set when the `ARCH` is not `arm` - make it also possible to build binary within `agnhost` dir as well - fix image build failure when the user is root Signed-off-by: Dave Chen <dave.chen@arm.com>