Dockerfile.azure build error: ERROR: failed to solve: process "/bin/sh -c echo \"== Install Core dependencies ==\" && tdnf install -y
In our deployment pipeline, in a Github Action, during the build and push to our container registry step:
**I have tried both below to the same effect:
- name: Build and push image to ACR
run: |
cd community/reservoir-ddms/
docker build . -t ${{ vars.AZURE_CONTAINER_REGISTRY }}/open-etp-server:epam --file Dockerfile.azure
# az acr build --registry ${{ vars.AZURE_CONTAINER_REGISTRY }} \
# --image reservoirddms:latest \
# --file community/reservoir-ddms/Dockerfile.azure ./community/reservoir-ddms/
I get the error:
ERROR: failed to solve: process "/bin/sh -c echo "== Install Core dependencies ==" && tdnf install -y alsa-lib alsa-lib-devel autoconf automake binutils bison build-essential clang clang-devel cmake dbus dbus-devel dbus-glib dbus-glib-devel diffutils elfutils-devel file-libs flex fontconfig-devel gawk gcc gettext git glibc-devel glib-schemas gobject-introspection gobject-introspection-devel harfbuzz harfbuzz-devel kernel-headers intltool libatomic_ops libcap-devel libffi libffi-devel libgudev libgudev-devel libjpeg-turbo libjpeg-turbo-devel libltdl libltdl-devel libpng-devel libtiff libtiff-devel libusb libusb-devel libwebp libwebp-devel libxml2 libxml2-devel make meson newt nss nss-libs openldap openssl-devel pam-devel pango pango-devel patch perl-XML-Parser polkit-devel python2-devel python3-mako sqlite-devel systemd-devel UI-cairo UI-cairo-devel unzip vala vala-devel vala-tools zip" did not complete successfully: exit code: 21 Error: Process completed with exit code 1.
Has anyone seen this and resolved it?