mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +08:00
* cleaning up docker feat/cleanup needed it's own cleanup since it was so out of date. better to just start over with an up to date pull of develop * Update paths for docker-compose files * Updating paths and compose version * switch network to testnet * adjusting stacks-blockchain configs * use correct context to build api image * use the defaults from develop branch * feat: update to latest stacks blockchain * fix: rosetta output paths * chore: update stacks api to v0.71.2 Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com> * fix: remove magic_byte from mainnet toml Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com> * fix: update stacks node everywhere Co-authored-by: wileyj <2847772+wileyj@users.noreply.github.com> Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com>
35 lines
959 B
Docker
35 lines
959 B
Docker
FROM everpeace/curl-jq as build
|
|
|
|
RUN mkdir -p /bin
|
|
|
|
ENV ROSETTA_CLI_VERSION "0.5.10"
|
|
|
|
RUN curl -L --output rosetta-cli-${ROSETTA_CLI_VERSION}-linux-amd64.tar.gz \
|
|
https://github.com/coinbase/rosetta-cli/releases/download/v${ROSETTA_CLI_VERSION}/rosetta-cli-${ROSETTA_CLI_VERSION}-linux-amd64.tar.gz \
|
|
&& tar xzf rosetta-cli-${ROSETTA_CLI_VERSION}-linux-amd64.tar.gz \
|
|
&& mv rosetta-cli-${ROSETTA_CLI_VERSION}-linux-amd64 /bin/rosetta-cli \
|
|
&& chmod +x /bin/rosetta-cli
|
|
|
|
FROM debian:stretch
|
|
|
|
RUN mkdir -p /bin /app
|
|
|
|
COPY --from=build /bin/rosetta-cli /bin/
|
|
|
|
COPY docker/docker-entrypoint.sh /bin/
|
|
RUN chmod +x /bin/docker-entrypoint.sh
|
|
|
|
COPY docker/start-construction.sh /bin/
|
|
RUN chmod +x /bin/start-construction.sh
|
|
|
|
COPY docker/start-data.sh /bin/
|
|
RUN chmod +x /bin/start-data.sh
|
|
|
|
COPY . /app
|
|
|
|
WORKDIR /app
|
|
|
|
ENTRYPOINT ["/bin/docker-entrypoint.sh"]
|
|
|
|
# CMD ["/bin/rosetta-cli", "--configuration-file /app/rosetta-config-docker.json", "view:networks"]
|