Azure: Switch to dockerhub provider
`registry.fedoraproject.org/f32/fedora-toolbox` image is used to build packages on Azure Pipelines. registry.fedoraproject.org experiences an availability problem and makes unstable FreeIPA CI. Fedora also distributes its official images on https://hub.docker.com/_/fedora. `fedora:32` is already used by FreeIPA CI to build the image for tests. Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
1 parent
41333b631d
commit
2b85bfb030
4 files changed
+3
-5
No files matched your search
@@ -262,6 +262,7 @@ BuildRequires: python3-m2r
|
||||
BuildRequires: jsl
|
||||
BuildRequires: rpmlint
|
||||
BuildRequires: softhsm
|
||||
BuildRequires: keyutils
|
||||
BuildRequires: python3-augeas
|
||||
BuildRequires: python3-cffi
|
||||
BuildRequires: python3-cryptography >= 1.6
|
||||
|
||||
@@ -4,10 +4,6 @@ ENV container=docker LANG=en_US.utf8 LANGUAGE=en_US.utf8 LC_ALL=en_US.utf8
|
||||
|
||||
ADD dist /root
|
||||
RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \
|
||||
&& dnf install -y dnf-plugins-core \
|
||||
&& dnf config-manager --set-enabled updates-testing \
|
||||
&& dnf config-manager --set-enabled updates-testing-modular \
|
||||
&& dnf config-manager --set-disabled fedora-cisco-openh264 \
|
||||
&& dnf update -y dnf \
|
||||
&& sed -i 's/%_install_langs \(.*\)/\0:fr/g' /etc/rpm/macros.image-language-conf \
|
||||
&& dnf install -y systemd \
|
||||
|
||||
@@ -5,6 +5,7 @@ steps:
|
||||
sudo dnf makecache || :
|
||||
echo "Installing base development environment"
|
||||
sudo dnf install -y \
|
||||
'dnf-command(builddep)' \
|
||||
gdb-minimal \
|
||||
make \
|
||||
autoconf \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
variables:
|
||||
IPA_PLATFORM: fedora
|
||||
# the Docker public image to build IPA packages (rpms)
|
||||
DOCKER_BUILD_IMAGE: 'registry.fedoraproject.org/f32/fedora-toolbox'
|
||||
DOCKER_BUILD_IMAGE: 'fedora:32'
|
||||
|
||||
# the Dockerfile to build Docker image for running IPA tests
|
||||
DOCKER_DOCKERFILE: ${{ format('Dockerfile.build.{0}', variables.IPA_PLATFORM) }}
|
||||
|
||||
Reference in new issue
Block a user