Git Product home page Git Product logo

toopher-docker's People

Contributors

egrim avatar frol avatar itorres avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toopher-docker's Issues

32-bit centos image doesn't install 32-bit packages

This is pretty weird, but if I try to docker build . with this as my Dockerfile:

FROM toopher/centos-i386:centos5

RUN yum install -y curl

I get an error:

ERROR with rpm_check_debug vs depsolve:
libidn.so.11()(64bit) is needed by curl-7.15.5-17.el5_9.x86_64
libcrypto.so.6 is needed by (installed) python-libs-2.4.3-56.el5.i386
libcrypto.so.6 is needed by (installed) m2crypto-0.16-9.el5.i386
libcrypto.so.6 is needed by (installed) openldap-2.3.43-29.el5_11.i386
libcrypto.so.6 is needed by (installed) openssh-4.3p2-82.el5.i386
libcrypto.so.6 is needed by (installed) fipscheck-1.2.0-1.el5.i386
libcrypto.so.6 is needed by (installed) openssh-server-4.3p2-82.el5.i386
libssl.so.6 is needed by (installed) python-libs-2.4.3-56.el5.i386
libssl.so.6 is needed by (installed) m2crypto-0.16-9.el5.i386
libssl.so.6 is needed by (installed) openldap-2.3.43-29.el5_11.i386
Complete!
(1, [u'Please report this error in http://bugs.centos.org/yum5bug'])

"Alright, great, it's trying to install x86_64 packages and they'll conflict with my i386 packages. That makes sense", I think to myself. However. If I docker run my way into a container based off of this image and manually run this, it does not occur:

$ docker run -ti toopher/centos-i386:centos5 /bin/sh
sh-3.2# yum install -y curl
....
Installed:
  curl.i386 0:7.15.5-17.el5_9

Dependency Installed:
  libidn.i386 0:0.6.5-1.1

If, however, I heed the advice of nitinrawat21 on your docker hub page, and change up my Dockerfile to this:

FROM toopher/centos-i386:centos5

RUN sed -i 's/\$arch/i686/g' /etc/yum.repos.d/*
RUN sed -i 's/\$basearch/i386/g' /etc/yum.repos.d/*
RUN yum install -y curl

Then everything works great. This makes me think that there is some weird interplay between the /etc/yum/vars/* files and docker build.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.