mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 17:28:51 -03:30
Adding import of centos repo key for dnf
This commit is contained in:
@@ -15,6 +15,9 @@ ENV AWX_LOGGING_MODE stdout
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
# Import the gpg key for DNF to work
|
||||||
|
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && \
|
RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && \
|
||||||
dnf config-manager --set-enabled crb && \
|
dnf config-manager --set-enabled crb && \
|
||||||
@@ -99,6 +102,9 @@ ENV AWX_LOGGING_MODE stdout
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
# Import the gpg key for DNF to work
|
||||||
|
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
||||||
|
|
||||||
# Install runtime requirements
|
# Install runtime requirements
|
||||||
RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && \
|
RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && \
|
||||||
dnf config-manager --set-enabled crb && \
|
dnf config-manager --set-enabled crb && \
|
||||||
|
|||||||
Reference in New Issue
Block a user