This repository has been archived by the owner on Feb 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pip/exporter/stellar-sdk' into 'master'
Specify less specific version for stellar-sdk See merge request ix.ai/crypto-exporter!75
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
FROM alpine:latest as builder | ||
COPY exporter/requirements.txt /work/exporter/requirements.txt | ||
|
||
ENV CRYPTOGRAPHY_DONT_BUILD_RUST="1" | ||
|
||
RUN set -xeu; \ | ||
mkdir -p /work/wheels; \ | ||
apk add \ | ||
|
@@ -10,14 +13,13 @@ RUN set -xeu; \ | |
libffi-dev \ | ||
make \ | ||
openssl-dev \ | ||
cargo \ | ||
; \ | ||
python3 -m ensurepip; \ | ||
pip3 install -U \ | ||
pip \ | ||
wheel \ | ||
; | ||
RUN pip3 wheel -r /work/exporter/requirements.txt -w /work/wheels | ||
pip | ||
|
||
RUN pip3 wheel --prefer-binary -r /work/exporter/requirements.txt -w /work/wheels | ||
|
||
FROM alpine:latest | ||
LABEL maintainer="[email protected]" | ||
|
@@ -32,7 +34,6 @@ RUN set -xeu; \ | |
pip3 install --no-cache-dir -U pip;\ | ||
pip3 install \ | ||
--no-index \ | ||
--use-feature=2020-resolver \ | ||
--no-cache-dir \ | ||
--find-links /wheels \ | ||
--requirement /exporter/requirements.txt \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
prometheus_client==0.9.0 | ||
requests==2.25.1 | ||
pygelf==0.4.0 | ||
stellar-sdk==2.11.1 | ||
ccxt==1.42.41 | ||
stellar-sdk>=2.11.1 |