tidy and fix links, add deployment.yml

This commit is contained in:
Oliver Gorwits
2018-01-13 10:01:06 +00:00
parent 97cdaf3ea7
commit ec2b2bcfa2
6 changed files with 104 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ RUN chmod +x /usr/local/bin/netdisco-db-entrypoint.sh
RUN PGDATA=/var/lib/postgresql/netdisco-pgdata /usr/local/bin/docker-entrypoint.sh postgres --version
WORKDIR /var/lib/postgresql/netdisco-sql
RUN curl -s https://api.github.com/repos/netdisco/netdisco/tags | \
RUN curl -sL https://api.github.com/repos/netdisco/netdisco/tags | \
jq '.[]|.name|select(test("^\\d+\\.\\d+$"))|"https://api.github.com/repos/netdisco/netdisco/tarball/"+.' | \
sort -rg | head -n1 | xargs -n1 curl -sL | \
tar --wildcards --strip-components=3 -zx '*App-Netdisco-DB-*' && \