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
# 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
RHEL does not provide access to EPEL unless you manually install epel-release first. See 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