Bug 1395936

Summary: F24 and F25 package dockerfiles too old.
Product: [Fedora] Fedora Reporter: Onuralp SEZER <thunderbirdtr>
Component: fedora-dockerfilesAssignee: Aditya Patawari <adimania>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: adimania, emailscottcollier
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:31:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Onuralp SEZER 2016-11-17 00:37:36 UTC
All of the fedora-dockerfile example package is just too old.


All install made with "yum" which is too old. (this result same in fedora 25 and fedora 24)

grep -rn "yum" *
ansible/README.md:32:        - name: cleanup yum cache
ansible/README.md:33:          command: yum clean all
ansible/Dockerfile:4:RUN yum -y update && yum clean all
ansible/Dockerfile:6:RUN yum -y install ansible && yum clean all
apache/Dockerfile:4:RUN yum -y update && yum clean all
apache/Dockerfile:5:RUN yum -y install httpd && yum clean all
bind/Dockerfile:7:RUN yum -y update && yum clean all
bind/Dockerfile:8:RUN yum -y install bind-utils bind cronie logrotate supervisor openssh-server rsyslog sudo pwgen && yum clean all
busybox/makeimage.sh:9:/usr/bin/which cpio docker mktemp rpm2cpio tar yumdownloader
busybox/makeimage.sh:16:yumdownloader busybox 
cadvisor/Dockerfile:4:RUN yum -y update && yum clean all
cadvisor/Dockerfile:5:RUN yum -y install yum-utils && yum clean all
cadvisor/Dockerfile:6:RUN yum-config-manager --enable updates-testing 
cadvisor/Dockerfile:7:RUN yum -y install cadvisor && yum clean all
cockpit-ws/Dockerfile:4:RUN yum -y update && yum install -y sed openssl && yum clean all
cockpit-ws/Dockerfile:7:ADD cockpit-preview.repo /etc/yum.repos.d/
cockpit-ws/Dockerfile:16:  ( ls *.rpm > /dev/null 2> /dev/null && yum -y install *.rpm || \
cockpit-ws/Dockerfile:17:        yum -y --enablerepo=cockpit-preview install cockpit-ws ) && \
cockpit-ws/Dockerfile:18:  yum clean all && rm -f /tmp/*.rpm
container-best-practices/Dockerfile:5:RUN yum -y update && yum clean all 
container-best-practices/Dockerfile:7:RUN yum -y install git asciidoc dockbook-xsl fop make && yum clean all
couchdb/Dockerfile:4:RUN  yum -y update && yum clean all
couchdb/Dockerfile:5:RUN  yum -y install couchdb && yum clean all
cups/Dockerfile:4:RUN yum -y update && yum clean all
cups/Dockerfile:5:RUN yum -y install cups openssl passwd && yum clean all
dhcpd/Dockerfile:6:RUN yum -y update && yum clean all
dhcpd/Dockerfile:11:# dhcp-server on F21) yum tells you that 'No package dhcp-server available.',
dhcpd/Dockerfile:16:RUN yum -y install dhcp dhcp-server /usr/sbin/ip /usr/bin/ipcalc && yum clean all
Django/Dockerfile:4:RUN yum -y update && yum clean all
Django/Dockerfile:5:RUN yum -y install python-pip python-django git sqlite && yum clean all
earthquake/Dockerfile:7:RUN yum -y update && yum clean all
earthquake/Dockerfile:8:RUN yum -y install openssl-devel openssl readline readline-devel gcc gcc-c++ rubygems rubygems-devel ruby ruby-devel && yum clean all
firefox/Dockerfile:5:RUN yum -y update && yum clean all
firefox/Dockerfile:6:RUN yum -y install firefox \
firefox/Dockerfile:12:xdotool && yum clean all
flask/Dockerfile:4:RUN yum -y update && yum clean all
flask/Dockerfile:5:RUN yum -y install python-flask && yum clean all
hadoop/multi_container/namenode/Dockerfile:5:RUN yum -y update && yum clean all
hadoop/multi_container/namenode/Dockerfile:8:RUN yum -y install hadoop-hdfs hadoop-common-native pwgen ldapjdk supervisor bash-completion && yum clean all
hadoop/multi_container/namenode/Dockerfile:11:RUN yum -y install net-tools lsof nmap && yum clean all
hadoop/multi_container/resourcemanager/Dockerfile:5:RUN yum -y update && yum clean all
hadoop/multi_container/resourcemanager/Dockerfile:8:RUN yum -y install hadoop-yarn hadoop-mapreduce hadoop-common-native pwgen ldapjdk supervisor bash-completion && yum clean all
hadoop/multi_container/resourcemanager/Dockerfile:11:RUN yum -y install net-tools lsof nmap && yum clean all
hadoop/multi_container/nodemanager_datanode/Dockerfile:5:RUN yum -y update && yum clean all
hadoop/multi_container/nodemanager_datanode/Dockerfile:8:RUN yum -y install hadoop-hdfs hadoop-yarn hadoop-common-native hadoop-mapreduce pwgen ldapjdk supervisor bash-completion && yum clean all
hadoop/multi_container/nodemanager_datanode/Dockerfile:11:RUN yum -y install net-tools lsof nmap && yum clean all
hadoop/single_container/Dockerfile:5:RUN yum -y update
hadoop/single_container/Dockerfile:8:RUN yum -y install yum install hadoop-common hadoop-common-native hadoop-hdfs hadoop-mapreduce hadoop-mapreduce-examples hadoop-yarn pwgen java-1.7.0-openjdk-headless java-1.7.0-openjdk java-1.7.0-openjdk-devel ldapjdk supervisor bash-completion && yum clean all
hadoop/single_container/Dockerfile:11:RUN yum -y install net-tools lsof nmap && yum clean all
haskell/Dockerfile:4:RUN yum -y update && yum clean all
haskell/Dockerfile:5:RUN yum -y install ghc cabal-install cabal-rpm cabal-dev\
haskell/Dockerfile:43: yum clean all
java-openjdk-8/Dockerfile:4:RUN yum -y update && yum clean all
java-openjdk-8/Dockerfile:5:RUN yum -y install tar gzip java java-devel && yum clean all
jenkins/Dockerfile:4:RUN yum -y update && yum clean all
jenkins/Dockerfile:5:RUN yum -y install jenkins java initscripts supervisor && yum clean all
lapis/Dockerfile:5:RUN yum -y update && yum clean all
lapis/Dockerfile:6:RUN yum -y install unzip tar wget vim git make gcc readline-devel pcre-devel openssl-devel && yum clean all
libvirt/libvirtd/Dockerfile:4:RUN yum -y update && yum clean all
libvirt/libvirtd/Dockerfile:5:RUN yum -y install libvirt-daemon-driver* qemu systemd libvirt-daemon && yum clean all; \
libvirt/virsh/Dockerfile:4:RUN yum -y install \
libvirt/virsh/Dockerfile:7:	; yum clean all
lighttpd/Dockerfile:7:RUN yum -y update && yum clean all
lighttpd/Dockerfile:8:RUN yum -y install openssh-server supervisor rsyslog sudo pwgen lighttpd && yum clean all
mariadb/Dockerfile:3:RUN yum -y update && yum clean all
mariadb/Dockerfile:4:RUN yum -y install mariadb-server pwgen psmisc net-tools hostname && \
mariadb/Dockerfile:5:    yum clean all
maven/Dockerfile:3:RUN yum -y update && yum clean all
maven/Dockerfile:4:RUN yum -y install tar gzip java java-devel && yum clean all
memcached/Dockerfile:4:RUN  yum -y update && yum clean all
memcached/Dockerfile:5:RUN yum -y install memcached && yum clean all
mesos/master/Dockerfile:5:RUN yum -y update && yum clean all
mesos/master/Dockerfile:8:RUN yum -y install mesos mesos-java python-mesos && yum clean all
mesos/master/Dockerfile:11:RUN yum -y install supervisor bash-completion && yum clean all
mesos/master/Dockerfile:14:RUN yum -y install net-tools lsof nmap && yum clean all
mesos/slave/Dockerfile:5:RUN yum -y update && yum clean all
mesos/slave/Dockerfile:8:RUN yum -y install mesos mesos-java python-mesos && yum clean all
mesos/slave/Dockerfile:11:RUN yum -y install supervisor bash-completion && yum clean all
mesos/slave/Dockerfile:14:RUN yum -y install net-tools lsof nmap && yum clean all
mongodb/Dockerfile:4:RUN yum -y update && yum clean all
mongodb/Dockerfile:7:# RUN yum -y install mongodb mongodb-server && yum clean all
mongodb/Dockerfile:10:RUN yum -y install mongodb-server && yum clean all
mysql/config_mysql.sh:6:yum -y erase community-mysql community-mysql-server
mysql/config_mysql.sh:8:yum -y install community-mysql community-mysql-server
mysql/Dockerfile:4:RUN yum -y update && yum clean all
mysql/Dockerfile:5:RUN yum -y install community-mysql-server community-mysql pwgen supervisor bash-completion psmisc net-tools && yum clean all
nginx/Dockerfile:4:RUN yum -y update && yum clean all
nginx/Dockerfile:5:RUN yum -y install nginx && yum clean all
nodejs/Dockerfile:4:RUN yum -y update && yum clean all
nodejs/Dockerfile:5:RUN yum -y install npm && yum clean all
owncloud/Dockerfile:5:RUN yum -y update && yum clean all
owncloud/Dockerfile:8:RUN yum install -y owncloud{,-httpd,-sqlite} && yum clean all
owncloud/Dockerfile:11:RUN yum install -y mod_ssl && yum clean all
pdftk/Dockerfile:6:RUN yum -y update && yum clean all
pdftk/Dockerfile:9:RUN yum install -y pdftk && yum clean all
postgresql/Dockerfile:6:RUN yum -y --setopt=tsflags=nodocs install postgresql-server \
postgresql/Dockerfile:7:    && yum -y --setopt=tsflags=nodocs reinstall glibc-common \
postgresql/Dockerfile:8:    && yum -y --setopt=tsflags=nodocs clean all --enablerepo='*'
python/Dockerfile:4:RUN yum -y update && yum clean all
python/Dockerfile:5:RUN yum -y install python-pip && yum clean all
qpid/Dockerfile:4:RUN yum -y update && yum clean all
qpid/Dockerfile:5:RUN yum install -y python-qpid qpid-cpp-server && yum clean all
rabbitmq/Dockerfile:4:RUN yum -y update && yum clean all
rabbitmq/Dockerfile:5:RUN yum -y install pwgen wget logrotate rabbitmq-server && yum clean all
redis/Dockerfile:4:RUN yum -y update && yum clean all
redis/Dockerfile:5:RUN yum -y install redis && yum clean all
registry/Dockerfile:4:RUN yum update -y &&  yum clean all
registry/Dockerfile:5:RUN yum install -y docker-registry && yum clean all
ruby/Dockerfile:4:RUN yum -y update && yum clean all
ruby/Dockerfile:5:RUN yum -y install ruby-devel git && yum clean all
squid/Dockerfile:8:RUN yum -y update; yum clean all;
squid/Dockerfile:9:RUN yum -y install squid; yum clean all;
squid/Dockerfile:10:RUN yum -y install httpd-tools; yum clean all;
ssh/Dockerfile:6:RUN yum -y install \
ssh/Dockerfile:9:	; yum clean all
systemd/systemd/Dockerfile:6:RUN yum -y update && yum clean all
systemd/systemd/Dockerfile:8:RUN yum -y install systemd; yum clean all; \
systemd/libvirt/Dockerfile:23:RUN yum -y install \
systemd/libvirt/Dockerfile:29:	; yum clean all
systemd/wordpress_single_container/start.sh:19:yum -y erase community-mysql community-mysql-server
systemd/wordpress_single_container/start.sh:21:yum -y install community-mysql community-mysql-server
systemd/wordpress_single_container/Dockerfile:3:RUN yum -y update && yum clean all
systemd/wordpress_single_container/Dockerfile:4:RUN yum -y install httpd php php-mysql php-gd pwgen supervisor bash-completion openssh-server psmisc tar && yum clean all
systemd/apache/Dockerfile:4:RUN yum -y update && yum clean all
systemd/apache/Dockerfile:5:RUN yum -y install httpd && yum clean all; \
wordpress/Dockerfile:3:RUN yum -y update && yum clean all
wordpress/Dockerfile:4:RUN yum -y install httpd php php-mysql php-gd pwgen psmisc tar && \
wordpress/Dockerfile:5:    yum clean all


Fedora versions also old too. 

grep -rn "fedora:" * 

ansible/Dockerfile:1:FROM fedora:latest
apache/Dockerfile:1:FROM fedora:20
cadvisor/Dockerfile:1:FROM fedora:21
cockpit-ws/Dockerfile:1:FROM fedora:21
container-best-practices/Dockerfile:1:FROM fedora:21
couchdb/Dockerfile:1:FROM fedora:20
Django/Dockerfile:1:FROM fedora:20
jenkins/Dockerfile:1:FROM fedora:21
libvirt/virsh/Dockerfile:1:FROM fedora:rawhide
mariadb/Dockerfile:1:FROM fedora:21
mesos/master/Dockerfile:1:FROM fedora:rawhide
mesos/slave/Dockerfile:1:FROM fedora:rawhide
mysql/Dockerfile:1:FROM fedora:20
owncloud/Dockerfile:1:FROM       fedora:21
pdftk/Dockerfile:2:FROM       fedora:20
registry/Dockerfile:1:FROM fedora:20
systemd/systemd/Dockerfile:1:FROM fedora:rawhide
systemd/apache/Dockerfile:1:FROM fedora:rawhide

They should be change with dnf and fedora:24 or fedora:25 needs to be there. 

Thank you.

Comment 1 Fedora End Of Life 2017-11-16 19:50:37 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-12-12 10:31:04 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.