cache busting

This commit is contained in:
Lyn 2024-05-15 16:42:55 +00:00
parent b8ccb736d3
commit 75a10ff672
No known key found for this signature in database

View File

@ -5,7 +5,8 @@ WORKDIR /tmp/download
RUN apt-get update
RUN apt-get install wget curl openssl jq unzip -y
RUN wget "https://github.com/kinode-dao/kinode/releases/download/$(curl https://api.github.com/repos/kinode-dao/kinode/releases | jq -r '.[0].tag_name')/kinode-x86_64-unknown-linux-gnu.zip"
ADD https://api.github.com/repos/kinode-dao/kinode/releases releases.json
RUN wget "https://github.com/kinode-dao/kinode/releases/download/$(cat releases.json | jq -r '.[0].tag_name')/kinode-x86_64-unknown-linux-gnu.zip"
RUN unzip kinode-x86_64-unknown-linux-gnu.zip
FROM debian:12-slim