Skip to content

Commit 824a8a4

Browse files
committed
ci(fedoradev): Qualify FROM to use fedora registry
By default it seems to pull from docker hub, but the images on docker hub seem to be updated much less frequently then the registry.fedoraproject.org one (hosted on quay.io). The specific difference which made me notice it is that on the rawhide image in docker hub the PATH includes */sbin parts: `PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin`, while the one on registry.fedoraproject.org only has 2 bin paths: `PATH=/usr/local/bin:/usr/bin`. This caused a test failure for monodevelop, since it depends on the full path its run as, and running it as sbin fails with this error: ``` Cannot open assembly '/usr/sbin/monodevelop/lib/monodevelop/bin/MonoDevelop.exe': Not a directory. ```
1 parent 89aa18b commit 824a8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/docker/fedoradev/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fedora:rawhide
1+
FROM registry.fedoraproject.org/fedora:rawhide
22

33
RUN echo install_weak_deps=False >> /etc/dnf/dnf.conf \
44
&& sed -i -e /tsflags=nodocs/d /etc/dnf/dnf.conf \

0 commit comments

Comments
 (0)