# awx superuser is not created when custom image ofquay.io/ansible/awx is used

**URL:** <https://forum.ansible.com/t/awx-superuser-is-not-created-when-custom-image-ofquay-io-ansible-awx-is-used/37765>\
**Category:** AWX Project\
**Tags:** aws, awx, kubernetes\
**Created:** [March 14, 2023, 3:01pm UTC](https://forum.ansible.com/t/awx-superuser-is-not-created-when-custom-image-ofquay-io-ansible-awx-is-used/37765 "2023-03-14T15:01:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Osorio\_R](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@Jose\_Osorio\_R](https://forum.ansible.com/u/Jose_Osorio_R)\
**Post date:** [March 14, 2023, 3:01pm UTC](https://forum.ansible.com/t/awx-superuser-is-not-created-when-custom-image-ofquay-io-ansible-awx-is-used/37765/1 "2023-03-14T15:01:12Z")

</div>

Hello,

As I needed the “aws-task” container in k8s to include other OS command, I created a Dockerfile like this:

FROM [quay.io/ansible/awx](http://quay.io/ansible/awx)

USER root

RUN dnf install -y gcc python-devel openssl-devel jq wget

RUN python3 -m pip install pysocks

RUN python3 -m pip install pywinrm

RUN update-crypto-policies --set DEFAULT:SHA1 RUN dnf -y clean all

Then publish the image in [https://quay.io/](https://quay.io/)

Crate a CRD .yml to include that image

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 17, 2023, 5:21pm UTC](https://forum.ansible.com/t/awx-superuser-is-not-created-when-custom-image-ofquay-io-ansible-awx-is-used/37765/2 "2023-03-17T17:21:49Z")

</div>

what do you mean by awx user? do you mean an Admin user in the AWX app itself? or are you referring to the awx user in the container?  
Also more info about what you are trying to achieve, i.e. should these be installed in a custom EE instead of the awx image?

AWX Team
