mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-30 05:45:37 +08:00
feat: progress on self contained follower
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user