mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Update Dockerfile-alpine and losen 'packaging' version
Signed-off-by: David Dashyan <mail@davie.li>
This commit is contained in:
parent
41f7534f3a
commit
40a92756f9
@ -4,12 +4,12 @@ RUN mkdir -p /usr/src/app
|
||||
COPY . /usr/src/app/
|
||||
WORKDIR /usr/src/app
|
||||
RUN apk --update add sudo \
|
||||
&& apk --update add python3 openssl ca-certificates git\
|
||||
&& apk --update add python3 py-pip openssl ca-certificates git\
|
||||
&& apk --update add --virtual build-dependencies python3-dev \
|
||||
libffi-dev openssl-dev build-base \
|
||||
&& apk add --no-cache libstdc++ \
|
||||
&& pip3 install --upgrade pip cffi \
|
||||
&& pip install -e .[dev] \
|
||||
&& pip install -e . \
|
||||
&& apk del build-dependencies \
|
||||
&& rm -f /var/cache/apk/*
|
||||
# When developing with Python in a docker container, we are using PYTHONBUFFERED
|
||||
|
2
setup.py
2
setup.py
@ -80,7 +80,7 @@ install_requires = [
|
||||
'gunicorn==20.0.4',
|
||||
'jsonschema==3.2.0',
|
||||
'logstats==0.3.0',
|
||||
'packaging==20.0.0',
|
||||
'packaging>=20.0.0', # Dockerfile-alpine required for pkg has ver 20.0.4
|
||||
# TODO Consider not installing the db drivers, or putting them in extras.
|
||||
'pymongo==3.7.2',
|
||||
'python-rapidjson==0.9.1',
|
||||
|
Loading…
x
Reference in New Issue
Block a user