{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/sti-python/issues/91","labels_url":"https://api.github.com/repos/openshift/sti-python/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/openshift/sti-python/issues/91/comments","events_url":"https://api.github.com/repos/openshift/sti-python/issues/91/events","html_url":"https://github.com/openshift/sti-python/issues/91","id":126388793,"number":91,"title":"Are images on Docker hub out of date in respect to OS packages?","user":{"login":"GrahamDumpleton","id":507637,"avatar_url":"https://avatars.githubusercontent.com/u/507637?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamDumpleton","html_url":"https://github.com/GrahamDumpleton","followers_url":"https://api.github.com/users/GrahamDumpleton/followers","following_url":"https://api.github.com/users/GrahamDumpleton/following{/other_user}","gists_url":"https://api.github.com/users/GrahamDumpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamDumpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamDumpleton/subscriptions","organizations_url":"https://api.github.com/users/GrahamDumpleton/orgs","repos_url":"https://api.github.com/users/GrahamDumpleton/repos","events_url":"https://api.github.com/users/GrahamDumpleton/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamDumpleton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-13T10:31:10Z","updated_at":"2016-01-13T10:31:10Z","closed_at":null,"body":"If I created a derived image containing:\r\n\r\n```\r\nFROM openshift/python-27-centos7\r\n\r\nUSER 0\r\n\r\nRUN yum install -y --setopt=tsflags=nodocs httpd httpd-devel && \\\r\n    yum clean all -y\r\n\r\nUSER 1001\r\n```\r\n\r\nThe Docker build will fail with errors like:\r\n\r\n```\r\nDependencies Resolved\r\n\r\n================================================================================\r\n Package                Arch       Version                    Repository   Size\r\n================================================================================\r\nInstalling:\r\n httpd                  x86_64     2.4.6-40.el7.centos        base        2.7 M\r\n httpd-devel            x86_64     2.4.6-40.el7.centos        base        187 k\r\nInstalling for dependencies:\r\n acl                    x86_64     2.2.51-12.el7              base         81 k\r\n apr                    x86_64     1.4.8-3.el7                base        103 k\r\n apr-devel              x86_64     1.4.8-3.el7                base        188 k\r\n apr-util               x86_64     1.5.2-6.el7                base         92 k\r\n apr-util-devel         x86_64     1.5.2-6.el7                base         76 k\r\n centos-logos           noarch     70.0.6-3.el7.centos        base         21 M\r\n cryptsetup-libs        x86_64     1.6.7-1.el7                base        182 k\r\n cyrus-sasl             x86_64     2.1.26-19.2.el7            base         88 k\r\n cyrus-sasl-devel       x86_64     2.1.26-19.2.el7            base        309 k\r\n dbus                   x86_64     1:1.6.12-13.el7            base        306 k\r\n device-mapper          x86_64     7:1.02.107-5.el7           base        251 k\r\n device-mapper-libs     x86_64     7:1.02.107-5.el7           base        304 k\r\n dracut                 x86_64     033-360.el7_2              updates     311 k\r\n expat-devel            x86_64     2.1.0-8.el7                base         56 k\r\n httpd-tools            x86_64     2.4.6-40.el7.centos        base         82 k\r\n initscripts            x86_64     9.49.30-1.el7              base        429 k\r\n kmod                   x86_64     20-5.el7                   base        114 k\r\n kmod-libs              x86_64     20-5.el7                   base         47 k\r\n kpartx                 x86_64     0.4.9-85.el7               base         59 k\r\n libdb-devel            x86_64     5.3.21-19.el7              base         38 k\r\n mailcap                noarch     2.1.41-2.el7               base         31 k\r\n openldap-devel         x86_64     2.4.40-8.el7               base        799 k\r\n qrencode-libs          x86_64     3.4.1-3.el7                base         50 k\r\n systemd                x86_64     219-19.el7                 base        5.1 M\r\n systemd-libs           x86_64     219-19.el7                 base        356 k\r\n sysvinit-tools         x86_64     2.88-14.dsf.el7            base         63 k\r\nUpdating for dependencies:\r\n cyrus-sasl-lib         x86_64     2.1.26-19.2.el7            base        155 k\r\n dbus-libs              x86_64     1:1.6.12-13.el7            base        151 k\r\n libdb                  x86_64     5.3.21-19.el7              base        718 k\r\n libdb-utils            x86_64     5.3.21-19.el7              base        102 k\r\n openldap               x86_64     2.4.40-8.el7               base        348 k\r\n\r\nTransaction Summary\r\n================================================================================\r\nInstall  2 Packages (+26 Dependent packages)\r\nUpgrade             (  5 Dependent packages)\r\n\r\nTotal download size: 35 M\r\nDownloading packages:\r\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.\r\n--------------------------------------------------------------------------------\r\nTotal                                              876 kB/s |  35 MB  00:41\r\nRunning transaction check\r\nRunning transaction test\r\n\r\n\r\nTransaction check error:\r\n  file /usr/lib64/libsystemd-daemon.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64\r\n  file /usr/lib64/libsystemd-id128.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64\r\n  file /usr/lib64/libsystemd-journal.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64\r\n  file /usr/lib64/libsystemd-login.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64\r\n.....\r\n```\r\n\r\nIf I build the ``openshift/python-27-centos7`` image myself on local Docker, (but not using Makefile and so not squashed, but otherwise the same), and change ``FROM`` to use freshly built image, then the installation of ``httpd`` and ``httpd-devel`` in a derived image works fine."}}