AWX 24.6.1 – `make docker-compose-build` Fails During dnf Install Step

noor
Mon, 02 Mar 2026 14:54:46 +0000
Get Help

Building AWX version 24.6.1 from source using Docker fails during the image build phase when running:

make docker-compose-build

The failure occurs during the dnf install step inside the container build process.

This issue is reproducible across multiple operating systems.

Tested Environments

The issue occurs on:

Ubuntu 24.04

Ubuntu 22.04

Ubuntu 20.04

CentOS Stream 10

Docker and Docker Compose plugin are installed from official repositories with latest available versions.

Docker is functioning correctly (able to pull other images successfully).

Steps to Reproduce

git clone https://github.com/ansible/awx.git
cd awx
git checkout 24.6.1
make docker-compose-build

The build begins normally but fails during package installation inside the container.

Error Output

ERROR: failed to build: failed to solve: process "/bin/sh -c dnf -y update && dnf install -y 'dnf-command(config-manager)' &&     dnf config-manager --set-enabled crb &&     dnf -y install     iputils     gcc     gcc-c++     git-core     gettext     glibc-langpack-en     libffi-devel     libtool-ltdl-devel     make     nodejs     nss     openldap-devel     openssl-3.0.7     patch     postgresql     postgresql-devel     python3.11     \"python3.11-devel\"     \"python3.11-pip\"     \"python3.11-setuptools\"     \"python3.11-packaging\"     \"python3.11-psycopg2\"     swig     unzip     xmlsec1-devel     xmlsec1-openssl-devel" did not complete successfully: exit code: 1

make: *** [Makefile:619: docker-compose-build] Error 1

Notes

The failure occurs specifically during the dnf execution.

Since this happens inside the container build stage, host OS differences should not affect the result.

Network connectivity is confirmed.

The issue is consistent across all tested distributions.

Questions

1. Is make docker-compose-build still supported for AWX 24.6.1?

2. Is building via Docker Compose still a supported workflow for 24.x, or is the Kubernetes Operator now the only supported deployment method?

3. Is there updated documentation for building AWX 24.x from source?

If building from source is no longer the intended workflow for 24.x, clarification on the recommended installation approach would be appreciated.

9 posts - 4 participants