Last active
January 7, 2018 19:38
-
-
Save ollyg/29ba2028550901b70c2e6bd0ff9679d8 to your computer and use it in GitHub Desktop.
netdisco docker notes
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
curl -s https://api.github.com/repos/netdisco/netdisco-mibs/tags | \ | |
jq '.[]|.tarball_url|select(test("tarball/\\d+\\.\\d+$"))' | \ | |
sort -rg | head -n1 | xargs -n1 curl -L | tar --strip-components=1 -zxf - | |
curl -s https://api.github.com/repos/netdisco/netdisco/tags | \ | |
jq '.[]|.name|select(test("^\\d+\\.\\d+$"))|"git://github.com/netdisco/netdisco.git@"+.' | \ | |
sort -rg | head -n1 | xargs -n1 cpanm --notest --local-lib $NETDISCO_HOME/perl5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment