Installing AWX using RedHat as base image

Is it possible to install AWX using RedHat as base image to build images ? Will all centos packages be compatible with RedHat? Please help

I have awx running on a centos host. It’s in a container so you can the container on any type of os.

Hello =)

Try install with docker.

Use this: https://drive.google.com/file/d/1oPBDTIwGFSZ5i9OfGCqDCxTaVqzTLOvG/view?usp=drivesdk

I want to build the image from RedHat base image. Will all centos packages be compatible with RedHat?

Example Docker file:

FROM centos:8 >>>>>>>> RedHat

ARG UID=0

Add ansible-devel so that we get collections!

ADD tools/docker-compose/ansible_nightly.repo /etc/yum.repos.d/ansible_nightly.repo

sync with installer/roles/image_build/templates/Dockerfile.j2

RUN 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 acl

Hello.

This a guide to install AWX with docker in RHEL8:

Use this doc https://drive.google.com/file/d/1oPBDTIwGFSZ5i9OfGCqDCxTaVqzTLOvG/view?usp=drivesdk

Some diferent steps:

1 - Install docker community version with this link: https://linuxconfig.org/how-to-install-docker-in-rhel-8
2 - Install Python: https://developers.redhat.com/blog/2018/11/14/python-in-rhel-8/
3 - Install Python-pip: https://linuxconfig.org/how-to-install-pip-in-redhat-8
4 - Install Git: https://linuxconfig.org/install-git-in-linux-redhat-8
5 - Install Development Tools: https://linuxconfig.org/install-development-tools-on-redhat-8
6 - Install Ansible: https://linuxconfig.org/install-ansible-on-redhat-8

Hope this helps =)

A terça, 23 de jun de 2020, 06:59, rajtheco…@gmail.com <rajthecomputerguy@gmail.com> escreveu:

Hi Braier,

Thanks for your help,

I do not have centos image in our environment, So the question is , Is it possible to build AWX containers using Redhat as base image

FROM centos:8 — FROM RedHat:7

I see AWX docker file is using centos as base image. We want to use RedHat image as base image.

Hello Raj (sorry if i write your name wrong).

Use this: https://drive.google.com/file/d/1oPBDTIwGFSZ5i9OfGCqDCxTaVqzTLOvG/view?usp=drivesdk

=)

A terça, 23 de jun de 2020, 13:08, rajtheco…@gmail.com <rajthecomputerguy@gmail.com> escreveu:

This a guide to install AWX with docker in RHEL8. You can just modify to RHEL7.

Use this doc https://drive.google.com/file/d/1oPBDTIwGFSZ5i9OfGCqDCxTaVqzTLOvG/view?usp=drivesdk

Some diferent steps:

1 - Install docker community version with this link: https://linuxconfig.org/how-to-install-docker-in-rhel-8
2 - Install Python: https://developers.redhat.com/blog/2018/11/14/python-in-rhel-8/
3 - Install Python-pip: https://linuxconfig.org/how-to-install-pip-in-redhat-8
4 - Install Git: https://linuxconfig.org/install-git-in-linux-redhat-8
5 - Install Development Tools: https://linuxconfig.org/install-development-tools-on-redhat-8
6 - Install Ansible: https://linuxconfig.org/install-ansible-on-redhat-8

Hope this helps =)

Is there any way not to use docker? Just a straight virt or hardware.

Try ythis: https://yallalabs.com/linux/how-to-install-ansible-awx-without-docker-centos-7-rhel-7/