# Package compatibility with RedHat image

**URL:** <https://forum.ansible.com/t/package-compatibility-with-redhat-image/33324>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [July 5, 2020, 4:39am UTC](https://forum.ansible.com/t/package-compatibility-with-redhat-image/33324 "2020-07-05T04:39:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pushparaj\_Gothandam](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pushparaj_gothandam/32/5538_2.png) [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Post date:** [July 5, 2020, 4:39am UTC](https://forum.ansible.com/t/package-compatibility-with-redhat-image/33324/1 "2020-07-05T04:39:25Z")

</div>

Hi Team,

We do not have direct internet access to install AWX and also we dont have Centos image for building AWX image, So we are going to build image using RedHat minimal image

We want the below packages installed using RedHat minimal image, Are the packages compatible with RedHat minimal image or any other alternative packages can be used in order to build the image.

Please help

Version: [https://github.com/ansible/awx](https://github.com/ansible/awx)

# Build container

| 
# Build container
 |
| | 

FROM centos:8 as builder

 |

ARG VENV\_BASEARG COLLECTION\_BASEENV LANG en\_US.UTF-8ENV LANGUAGE en\_US:enENV LC\_ALL en\_US.UTF-8USER root# Install build dependenciesRUN dnf -y update && \dnf -y install epel-release 'dnf-command(config-manager)' && \dnf module -y enable 'postgresql:10' && \dnf config-manager --set-enabled PowerTools && \dnf -y install ansible \gcc \gcc-c++ \gettext \git-core \glibc-langpack-en \libcurl-devel \libffi-devel \libstdc++.so.6 \libtool-ltdl-devel \make \nodejs \nss \openldap-devel \patch \@postgresql:10 \postgresql-devel \python3-devel \python3-pip \python3-psycopg2 \python3-setuptools \swig \unzip \xmlsec1-devel \xmlsec1-openssl-devel

---

<div class="post-metadata">

**Author:** ![Pushparaj\_Gothandam](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pushparaj_gothandam/32/5538_2.png) [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Post date:** [July 7, 2020, 8:24am UTC](https://forum.ansible.com/t/package-compatibility-with-redhat-image/33324/2 "2020-07-07T08:24:24Z")

</div>

Can anyone help on this?

---

<div class="post-metadata">

**Author:** ![Kadel-Garcia\_Nico](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@Kadel-Garcia\_Nico](https://forum.ansible.com/u/Kadel-Garcia_Nico)\
**Post date:** [July 12, 2020, 10:33am UTC](https://forum.ansible.com/t/package-compatibility-with-redhat-image/33324/3 "2020-07-12T10:33:19Z")

</div>

RHEL does not provide access to EPEL unless you manually install epel-release first. See [https://fedoraproject.org/wiki/EPEL](https://fedoraproject.org/wiki/EPEL)

**Nico Kadel-Garcia**

Senior DevOps Engineer

Cengage Learning

200 Pier Four Blvd.

Boston, MA 02210

[nico.kadel-garcia@cengage.com](mailto:nico.kadel-garcia@cengage.com)
