# Error building awx\_sdist\_builder image

**URL:** <https://forum.ansible.com/t/error-building-awx-sdist-builder-image/34356>\
**Category:** AWX Project\
**Created:** [December 18, 2020, 5:45pm UTC](https://forum.ansible.com/t/error-building-awx-sdist-builder-image/34356 "2020-12-18T17:45:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cnu\_k](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Post date:** [December 18, 2020, 5:45pm UTC](https://forum.ansible.com/t/error-building-awx-sdist-builder-image/34356/1 "2020-12-18T17:45:24Z")

</div>

Running into this issue inside Corporate network but worked fine outside.  
Any clues what needs to be done since passing ca\_cert argument to docker\_image module and setting http\_proxy in the inventory didn’t seem to fix this issue?

The server where I am running Anisble playbook is able to curl the file and download as well with wget command, so I am kind of lost here now.

“msg”: “Error building awx\_sdist\_builder - code: 1, message: The command ‘/bin/sh -c npm install -g n && n 14.15.1 && dnf remove -y nodejs’ returned a non-zero code: 1, logs: [u’Step 1/7 : FROM centos:8’, u’\n’, u’ —\> 300e315adb2f\n’, u’Step 2/7 : RUN dnf -y update && dnf -y install epel-release && dnf install -y bzip2 gcc-c++ gettext git make nodejs python3 python3-setuptools’, u’\n’, u’ —\> Using cache\n’, u’ —\> 5ef316422c21\n’, u’Step 3/7 : RUN npm install -g n && n 14.15.1 && dnf remove -y nodejs’, u’\n’, u’ —\> Running in 74234d18a5af\n’, u’/usr/local/bin/n → /usr/local/lib/node\_modules/n/bin/n\n’, u’+ n@6.8.0\nadded 1 package from 4 contributors in 0.59s\n’, u’\n installing : node-v14.15.1\n’, u’\x1b[91mcurl: (60) SSL certificate problem: unable to get local issuer certificate\nMore details here: [https://curl.haxx.se/docs/sslcerts.html\\n\\ncurl](https://curl.haxx.se/docs/sslcerts.html%5C%5Cn%5C%5Cncurl) failed to verify the legitimacy of the server and therefore could not\nestablish a secure connection to it. To learn more about this situation and\nhow to fix it, please visit the web page mentioned above.\n\x1b[0m’, u"\x1b[91m\n Error: download preflight failed for ‘14.15.1’ ([https://nodejs.org/dist/v14.15.1/node-v14.15.1-linux-x64.tar.xz](https://nodejs.org/dist/v14.15.1/node-v14.15.1-linux-x64.tar.xz))\n\n\x1b[0m", u’Removing intermediate container 74234d18a5af\n’]”

Thanks
