fixes to curl commands
This commit is contained in:
@@ -6,9 +6,9 @@ LABEL org.netdisco.maintainer="The Netdisco Project"
|
||||
LABEL org.netdisco.version=${TAG}
|
||||
|
||||
WORKDIR $NETDISCO_HOME/netdisco-mibs
|
||||
RUN curl -s https://api.github.com/repos/netdisco/netdisco-mibs/tags | \
|
||||
RUN curl -sL 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 -
|
||||
sort -rg | head -n1 | xargs -n1 curl -sL | tar --strip-components=1 -zxf -
|
||||
|
||||
WORKDIR $NETDISCO_HOME
|
||||
ENTRYPOINT ["/home/netdisco/bin/netdisco-backend"]
|
||||
|
||||
Reference in New Issue
Block a user