feat: progress on self contained follower

This commit is contained in:
Matthew Little
2020-08-24 13:48:06 -06:00
parent 8e7a3f9790
commit d544edf9e3
5 changed files with 8 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ const envVars = {
STACKS_BLOCKCHAIN_REPO: 'https://github.com/blockstack/stacks-blockchain.git',
STACKS_BLOCKCHAIN_BRANCH: 'master',
STACKS_BLOCKCHAIN_BIN: 'stacks-node',
STACKS_BLOCKCHAIN_DIST_PLATFORM: 'linux-x64',
STACKS_BLOCKCHAIN_DIST_PLATFORM: 'linux-x64-test',
};
Object.entries(envVars).forEach(([key, val]) => envVars[key] = process.env[key] || val);

View File

@@ -3,7 +3,7 @@ FROM everpeace/curl-jq as build
ENV ARTIFACTS "http://blockstack-stacks-blockchain_artifacts.storage.googleapis.com/index.json"
RUN curl -s "$ARTIFACTS" --output ./artifacts-resp.json \
&& cat ./artifacts-resp.json | jq -r '."stacks-node"."linux-x64".latest.url' > ./url \
&& cat ./artifacts-resp.json | jq -r '."stacks-node"."linux-x64-test".latest.url' > ./url \
&& mkdir -p /app \
&& echo "Fetching $(cat ./url)" \
&& curl --compressed $(cat ./url) --output /bin/stacks-node \