Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containers "bug fixes and performance improvements" #278

Merged
merged 3 commits into from Aug 28, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
containers: Workaround random dnf-related build failures
Caused by fedora mirrors being not properly synced.
Rsolved by RhBug:1678588 / FEDORA-2019-13479b151a .
This workaround will do nothing but add an image layer once
that update is included in fedora:30 image (currently 2019-08-01).
It can be removed once it is included.

[noissue]
  • Loading branch information
mikedep333 committed Aug 28, 2019
commit 1b0d55bf5fc7d270d7cbbced3c224814b3bc7ad7
6 changes: 6 additions & 0 deletions containers/images/pulp/Dockerfile.j2
Expand Up @@ -11,6 +11,12 @@ ENV LC_ALL=en_US.UTF-8
ENV PYTHONUNBUFFERED=0
ENV DJANGO_SETTINGS_MODULE=pulpcore.app.settings

# We need this workaround / to avoid random build failures until the F30 image
# is updated (last updated: 2019-08-01)
# https://bodhi.fedoraproject.org/updates/FEDORA-2019-13479b151a
# Allow to try baseurl multiple times (RhBug:1678588)
# So that it will try different mirrors if one is in a bad (rsync) state
RUN rpm -q librepo --queryformat=%{VERSION} | grep -v 1.10.2 || dnf -y update || dnf -y update || dnf -y update || dnf -y update || dnf -y update && dnf clean all
# The Fedora 30 image already has tsflags=nodocs set in dnf.conf
# It already has pip
#
Expand Down