Skip to content

Instantly share code, notes, and snippets.

@artynet
Forked from il-katta/Dockerfile
Created March 30, 2019 00:44
Show Gist options
  • Save artynet/daaecbd6e2435b27c75a6ee0c9c25527 to your computer and use it in GitHub Desktop.
Save artynet/daaecbd6e2435b27c75a6ee0c9c25527 to your computer and use it in GitHub Desktop.
script to update katta/openwrt-rootfs docker image
#!/bin/bash
set -xe
curl -sL https://downloads.lede-project.org/snapshots/targets/x86/generic/openwrt-x86-generic-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:lede-latest
docker push katta/openwrt-rootfs:lede-latest
curl -sL http://archive.openwrt.org/snapshots/trunk/x86/generic/openwrt-x86-generic-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:latest
docker push katta/openwrt-rootfs:latest
curl -sL http://downloads.openwrt.org/releases/18.06.1/targets/x86/generic/openwrt-18.06.1-x86-generic-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:18.06.1
docker push katta/openwrt-rootfs:18.06.1
curl -sL http://downloads.openwrt.org/releases/18.06.0/targets/x86/generic/openwrt-18.06.0-x86-generic-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:18.06.0
docker push katta/openwrt-rootfs:18.06.0
curl -sL http://downloads.openwrt.org/releases/17.01.6/targets/x86/generic/lede-17.01.6-x86-generic-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:lede-17.01.6
docker push katta/openwrt-rootfs:lede-17.01.6
curl -sL http://downloads.openwrt.org/releases/17.01.5/targets/x86/generic/lede-17.01.5-x86-generic-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:lede-17.01.5
docker push katta/openwrt-rootfs:lede-17.01.5
curl -sL https://downloads.lede-project.org/releases/17.01.4/targets/x86/generic/lede-17.01.4-x86-generic-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:lede-17.01.4
docker push katta/openwrt-rootfs:lede-17.01.4
curl -sL https://archive.openwrt.org/chaos_calmer/15.05/x86/generic/openwrt-15.05-x86-generic-Generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:15.05
docker push katta/openwrt-rootfs:15.05
curl -sL https://archive.openwrt.org/barrier_breaker/14.07/x86/generic/openwrt-x86-generic-Generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:14.07
docker push katta/openwrt-rootfs:14.07
curl -sL https://archive.openwrt.org/attitude_adjustment/12.09/x86/generic/openwrt-x86-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:12.09
docker push katta/openwrt-rootfs:12.09
curl -sL https://archive.openwrt.org/backfire/10.03.1/x86_generic/openwrt-x86-generic-rootfs.tar.gz | docker import - katta/openwrt-rootfs:10.03.1
docker push katta/openwrt-rootfs:10.03.1
curl -sL https://archive.openwrt.org/backfire/10.03/x86/openwrt-x86-rootfs.tgz | docker import - katta/openwrt-rootfs:10.03
docker push katta/openwrt-rootfs:10.03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment