Syncer refactor
This commit is contained in:
@@ -105,63 +105,14 @@ RUN cd root && \
|
||||
RUN cd cic-bancor/python && \
|
||||
pip install --extra-index-url $pip_extra_index_url .
|
||||
|
||||
RUN echo installing common python tooling
|
||||
ARG cic_python_commit=9bd1d5319aad8791ebf353707eabbb7b3e7ab5d0
|
||||
ARG cic_python_url=https://gitlab.com/grassrootseconomics/cic-python.git/
|
||||
RUN echo Install sum of python dependencies across all components && \
|
||||
git clone --depth 1 $cic_python_url cic-python && \
|
||||
cd cic-python && \
|
||||
git fetch --depth 1 origin $cic_python_commit && \
|
||||
git checkout $cic_python_commit && \
|
||||
pip install --extra-index-url $pip_extra_index_url -r requirements.txt
|
||||
|
||||
RUN echo Install dev-only provisions
|
||||
ARG cryptocurrency_cli_tools_version=0.0.4
|
||||
RUN pip install --extra-index-url $pip_extra_index_url cryptocurrency-cli-tools==$cryptocurrency_cli_tools_version
|
||||
RUN apt-get install -y cargo
|
||||
ARG cic_base_version=0.1.1a10
|
||||
RUN pip install --extra-index-url $pip_extra_index_url cic-base[full_graph]==$cic_base_version
|
||||
|
||||
RUN echo Install smart contract interface implementations, least frequently changed first
|
||||
ARG giftable_erc20_token_version=0.0.7b12
|
||||
RUN pip install --extra-index-url $pip_extra_index_url giftable-erc20-token==$giftable_erc20_token_version
|
||||
|
||||
ARG eth_accounts_index_version=0.0.10a9
|
||||
RUN pip install --extra-index-url $pip_extra_index_url eth-accounts-index==$eth_accounts_index_version
|
||||
|
||||
#ARG erc20_approval_escrow_version=0.3.0a4
|
||||
#RUN pip install --extra-index-url $pip_extra_index_url erc20-approval-escrow==$erc20_approval_escrow_version
|
||||
ARG erc20_transfer_authorization_version=0.3.0a9
|
||||
RUN pip install --extra-index-url $pip_extra_index_url erc20-transfer-authorization==$erc20_transfer_authorization_version
|
||||
|
||||
#ARG erc20_single_shot_faucet_version=0.2.0a5
|
||||
#RUN pip install --extra-index-url $pip_extra_index_url erc20-single-shot-faucet==$erc20_single_shot_faucet_version
|
||||
|
||||
ARG sarafu_faucet_version=0.0.1a11
|
||||
RUN pip install --extra-index-url $pip_extra_index_url sarafu-faucet==$sarafu_faucet_version
|
||||
|
||||
ARG eth_address_index_version=0.1.0a10
|
||||
RUN pip install --extra-index-url $pip_extra_index_url eth-address-index==$eth_address_index_version
|
||||
|
||||
RUN echo Install cic specific python packages
|
||||
ARG cic_registry_version=0.5.3a20+build.30d0026c
|
||||
ARG cic_registry_version=0.5.3a22
|
||||
RUN pip install --extra-index-url $pip_extra_index_url cic-registry==$cic_registry_version
|
||||
|
||||
RUN echo Install misc helpers
|
||||
|
||||
ARG crypto_dev_signer_version=0.4.13rc2
|
||||
RUN pip install --extra-index-url $pip_extra_index_url crypto-dev-signer==$crypto_dev_signer_version
|
||||
|
||||
ARG eth_gas_proxy_version=0.0.1a4
|
||||
RUN pip install --extra-index-url $pip_extra_index_url eth-gas-proxy==$eth_gas_proxy_version
|
||||
|
||||
ARG cic_contracts_version=0.0.2a2
|
||||
RUN pip install --extra-index-url $pip_extra_index_url cic-contracts==$cic_contracts_version
|
||||
|
||||
ARG chainlib_version=0.0.1a16
|
||||
RUN pip install --extra-index-url $pip_extra_index_url chainlib==$chainlib_version
|
||||
|
||||
ARG chainsyncer_version=0.0.1a8
|
||||
RUN pip install --extra-index-url $pip_extra_index_url chainsyncer==$chainsyncer_version
|
||||
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
COPY contract-migration/testdata/pgp testdata/pgp
|
||||
@@ -177,6 +128,4 @@ COPY contract-migration/seed_cic_eth.sh seed_cic_eth.sh
|
||||
COPY contract-migration/sarafu_declaration.json sarafu_declaration.json
|
||||
COPY contract-migration/keystore keystore
|
||||
|
||||
LABEL version="4"
|
||||
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
|
||||
Reference in New Issue
Block a user