On Wed, Aug 19, 2020 at 02:51:57PM +0200, Tomasz Torcz wrote:
On Wed, Aug 19, 2020 at 01:01:00PM +0100, Daniel P. Berrangé wrote:
> I have a docker recipe that does not much more than:
>
> FROM fedora:rawhide
> RUN dnf -y install ...blah...
I'm not addressing the core of your email, but… using FROM fedora:rawhide
is not a good practice because of two reasons:
– it's not describing specific version. 'rawhide' is changing in time,
so your containers are not reproductible - building twice can produce
something different each time
That is fine - we explicitly want the content to be changing in this
case, as our goal is to make sure we always build with latest rawhide
content.
We have other CI jobs using the stable fedora release images
- you do not specify full repository address, so you get whatever is
default. As you noticed, in different environemnts you get different
results.
In short, 'fedora:rawhide' is not enough to get specific
image, the
result is quite random.
None the less, this is what users will commonly use - it is pretty
rare to find people using a full registry hostname when referencing
image.
With docker.io/library/fedora being labelled as an official repo,
I think it is surprising that it is so outdated and inconsistent
with what's on
registry.fp.org. It leaves a bad impression of
Fedora's quality with users who try it :-(
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|