Skip to content

Commit

Permalink
Fix opkg download urls
Browse files Browse the repository at this point in the history
  • Loading branch information
vbehar committed Jun 3, 2015
1 parent e98c5d2 commit 4481c0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ADD ./rootfs.tar /
ADD ./opkg.conf /etc/opkg.conf
ADD ./opkg-install /usr/bin/opkg-install
ADD ./functions.sh /lib/functions.sh
RUN opkg-cl install http://downloads.openwrt.org/snapshots/trunk/x86_64/generic/packages/base/libgcc_4.8-linaro-1_x86_64.ipk
RUN opkg-cl install http://downloads.openwrt.org/snapshots/trunk/x86_64/generic/packages/base/libc_0.9.33.2-1_x86_64.ipk
RUN opkg-cl install http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/base/libgcc_4.8-linaro-1_x86_64.ipk
RUN opkg-cl install http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/base/libc_0.9.33.2-1_x86_64.ipk

CMD ["/bin/sh"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> **Notice:** *This image will probably soon be deprecated in favor of our even smaller [Alpine Linux based image](https://github.com/gliderlabs/docker-alpine). Alpine is a minimal Linux distro designed with containers in mind, based on Busybox, with a real, modern package system*
This might not be the smallest Busybox container (4.8MB), but it has [opkg](http://wiki.openwrt.org/doc/techref/opkg), which means you can *very easily* install other [common packages](http://downloads.openwrt.org/snapshots/trunk/x86_64/generic/packages/packages/) while keeping the image size to an absolute minimum.
This might not be the smallest Busybox container (4.8MB), but it has [opkg](http://wiki.openwrt.org/doc/techref/opkg), which means you can *very easily* install other [common packages](http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/packages/) while keeping the image size to an absolute minimum.

The convenience of `apt-get install` but for Busybox!

Expand Down
4 changes: 2 additions & 2 deletions opkg.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
src/gz base http://downloads.openwrt.org/snapshots/trunk/x86_64/generic/packages/base
src/gz packages http://downloads.openwrt.org/snapshots/trunk/x86_64/generic/packages/packages
src/gz base http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/base
src/gz packages http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists

0 comments on commit 4481c0e

Please sign in to comment.