Re:Docker Hub Official Repos: Announcing Language Stacks
by zimbatm on Thursday September 25, 2014 @05:46AM
(#8366380)
It's possible to install another package manager like opkg. See https://github.com/progrium/busybox
Re:Docker Hub Official Repos: Announcing Language Stacks
by 0x006A on Thursday September 25, 2014 @06:19AM
(#8366442)
right, that would be an option, if opkg had packages for python mercurial or bzr. (those are needed for go get to work).
Don't see those in http://downloads.openwrt.org/snapshots/trunk/x86_64/packages...
Re:Docker Hub Official Repos: Announcing Language Stacks
by zimbatm on Thursday September 25, 2014 @11:57AM
(#8367802)
Another solution is to build your go executable in a different container and import it into a busybox container. That changes the layering from:
debian
add go, bzr, mercurial, python, ...
build executable
to: busybox
executable
That reduces the amount of data that needs to be downloaded on new boxes by a factor of ten or so.
apt-get install -y ca-certificates curl gcc libc6-dev bzr git mercurial