Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Merge branch 'pip/exporter/stellar-sdk' into 'master'
Browse files Browse the repository at this point in the history
Specify less specific version for stellar-sdk

See merge request ix.ai/crypto-exporter!75
  • Loading branch information
tlex committed Feb 28, 2021
2 parents 42dfbe5 + 8052d1d commit 482df47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
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 \
Expand All @@ -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]"
Expand All @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion exporter/requirements.txt
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

0 comments on commit 482df47

Please sign in to comment.