-
-
Save artynet/daaecbd6e2435b27c75a6ee0c9c25527 to your computer and use it in GitHub Desktop.
script to update katta/openwrt-rootfs docker image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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