toopher / toopher-docker Goto Github PK
View Code? Open in Web Editor NEWA place for toopher related docker repos
A place for toopher related docker repos
It'd be great to update the Centos 6 image to a base of 6.9.
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
.
Currently, you have centos 6 and ubuntu 12.04 in your DockerHub while there are also centos 5 and ubuntu 14.04 in your GitHub repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.