Hacker News new | ask | show | jobs
by zimbatm 4278 days ago
It's possible to install another package manager like opkg. See https://github.com/progrium/busybox
1 comments

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...
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.
Yeah, that looks good - I'm in Australia so anything that reduces the amount I need to download is excellent.