mirror of
https://github.com/planetmint/planetmint.git
synced 2025-06-07 22:56:37 +00:00
added additional dependences to the docker fils so that zenroom can be executed.
added zenroom from git repo, because pypi servs an older buggy version
This commit is contained in:
parent
ad01c4c543
commit
dd8f39712e
@ -5,7 +5,7 @@ COPY . /usr/src/app/
|
|||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
RUN apt-get -qq update \
|
RUN apt-get -qq update \
|
||||||
&& apt-get -y upgrade \
|
&& apt-get -y upgrade \
|
||||||
&& apt-get install -y jq \
|
&& apt-get install -y jq vim zsh build-essential cmake\
|
||||||
&& pip install . \
|
&& pip install . \
|
||||||
&& apt-get autoremove \
|
&& apt-get autoremove \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
@ -9,7 +9,7 @@ WORKDIR /usr/src/app
|
|||||||
|
|
||||||
RUN apk --update add sudo bash \
|
RUN apk --update add sudo bash \
|
||||||
&& apk --update add python3 openssl ca-certificates git \
|
&& apk --update add python3 openssl ca-certificates git \
|
||||||
&& apk --update add --virtual build-dependencies python3-dev \
|
&& apk --update add --virtual build-dependencies python3-dev vim zsh build-essential cmake\
|
||||||
libffi-dev openssl-dev build-base jq zsh \
|
libffi-dev openssl-dev build-base jq zsh \
|
||||||
&& apk add --no-cache libstdc++ dpkg gnupg \
|
&& apk add --no-cache libstdc++ dpkg gnupg \
|
||||||
&& pip3 install --upgrade pip cffi \
|
&& pip3 install --upgrade pip cffi \
|
||||||
|
@ -5,7 +5,7 @@ COPY . /usr/src/app/
|
|||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
RUN apk --update add sudo \
|
RUN apk --update add sudo \
|
||||||
&& apk --update add python3 py-pip openssl ca-certificates git\
|
&& apk --update add python3 py-pip openssl ca-certificates git\
|
||||||
&& apk --update add --virtual build-dependencies python3-dev zsh \
|
&& apk --update add --virtual build-dependencies python3-dev zsh vim zsh build-essential cmake\
|
||||||
libffi-dev openssl-dev build-base \
|
libffi-dev openssl-dev build-base \
|
||||||
&& apk add --no-cache libstdc++ \
|
&& apk add --no-cache libstdc++ \
|
||||||
&& pip3 install --upgrade pip cffi \
|
&& pip3 install --upgrade pip cffi \
|
||||||
|
@ -3,7 +3,7 @@ FROM python:${python_version}
|
|||||||
LABEL maintainer "contact@ipdb.global"
|
LABEL maintainer "contact@ipdb.global"
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y git zsh\
|
&& apt-get install -y git zsh vim build-essential cmake\
|
||||||
&& pip install -U pip \
|
&& pip install -U pip \
|
||||||
&& apt-get autoremove \
|
&& apt-get autoremove \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
@ -1,40 +1,61 @@
|
|||||||
FROM python:3.9
|
FROM python:3.9
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y vim zsh
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y git zsh\
|
|
||||||
&& pip install -U pip \
|
&& pip install -U pip \
|
||||||
&& apt-get autoremove \
|
&& apt-get autoremove \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
RUN apt install sudo
|
RUN apt-get install -y vim zsh build-essential cmake
|
||||||
RUN apt-get install -y python3 openssl ca-certificates git python3-dev
|
|
||||||
RUN apt-get install zsh gcc
|
|
||||||
RUN apt-get install libffi-dev
|
|
||||||
RUN apt-get install build-essential cmake -y
|
|
||||||
|
|
||||||
|
|
||||||
RUN mkdir -p /src
|
RUN mkdir -p /src
|
||||||
RUN pip install --upgrade \
|
RUN pip install --upgrade \
|
||||||
pycco \
|
pycco \
|
||||||
#zenroom>=2.0.0
|
|
||||||
#git+https://github.com/dyne/Zenroom.git@gitzenroom#subdirectory=bindings/python3 \
|
|
||||||
websocket-client~=0.47.0 \
|
websocket-client~=0.47.0 \
|
||||||
pytest~=3.0 \
|
pytest~=3.0 \
|
||||||
planetmint-driver>=0.9.0 \
|
git+https://github.com/planetmint/cryptoconditions.git@gitzenroom \
|
||||||
blns \
|
#git+https://github.com/planetmint/planetmint-driver.git@gitzenroom \
|
||||||
git+https://github.com/planetmint/cryptoconditions.git@gitzenroom >=0.9.0 \
|
|
||||||
chardet==3.0.4\
|
|
||||||
aiohttp==3.7.4\
|
|
||||||
abci==0.8.3\
|
|
||||||
#planetmint-cryptoconditions>=0.9.0\
|
#planetmint-cryptoconditions>=0.9.0\
|
||||||
flask-cors==3.0.10\
|
planetmint-driver>=0.9.0 \
|
||||||
flask-restful==0.3.9\
|
blns
|
||||||
flask==2.0.1\
|
|
||||||
gunicorn==20.1.0\
|
|
||||||
jsonschema==3.2.0\
|
|
||||||
logstats==0.3.0\
|
|
||||||
packaging>=20.9\
|
#FROM python:3.9
|
||||||
pymongo==3.11.4\
|
#
|
||||||
pyyaml==5.4.1\
|
#RUN apt-get update && apt-get install -y vim zsh
|
||||||
requests==2.25.1\
|
#RUN apt-get update \
|
||||||
setproctitle==1.2.2
|
# && apt-get install -y git zsh\
|
||||||
|
# && pip install -U pip \
|
||||||
|
# && apt-get autoremove \
|
||||||
|
# && apt-get clean
|
||||||
|
#RUN apt install sudo
|
||||||
|
#RUN apt-get install -y python3 openssl ca-certificates git python3-dev
|
||||||
|
#RUN apt-get install zsh gcc
|
||||||
|
#RUN apt-get install libffi-dev
|
||||||
|
#RUN apt-get install build-essential cmake -y
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#RUN mkdir -p /src
|
||||||
|
#RUN pip install --upgrade \
|
||||||
|
# pycco \
|
||||||
|
# websocket-client~=0.47.0 \
|
||||||
|
# pytest~=3.0 \
|
||||||
|
# planetmint-driver>=0.9.0 \
|
||||||
|
# blns \
|
||||||
|
# git+https://github.com/planetmint/cryptoconditions.git@gitzenroom >=0.9.0 \
|
||||||
|
# chardet==3.0.4 \
|
||||||
|
# aiohttp==3.7.4 \
|
||||||
|
# abci==0.8.3 \
|
||||||
|
# #planetmint-cryptoconditions>=0.9.0\
|
||||||
|
# flask-cors==3.0.10 \
|
||||||
|
# flask-restful==0.3.9 \
|
||||||
|
# flask==2.0.1 \
|
||||||
|
# gunicorn==20.1.0 \
|
||||||
|
# jsonschema==3.2.0 \
|
||||||
|
# logstats==0.3.0 \
|
||||||
|
# packaging>=20.9 \
|
||||||
|
# pymongo==3.11.4 \
|
||||||
|
# pyyaml==5.4.1 \
|
||||||
|
# requests==2.25.1 \
|
||||||
|
# setproctitle==1.2.2
|
||||||
|
#
|
3
setup.py
3
setup.py
@ -76,7 +76,8 @@ install_requires = [
|
|||||||
'chardet==3.0.4',
|
'chardet==3.0.4',
|
||||||
'aiohttp==3.7.4',
|
'aiohttp==3.7.4',
|
||||||
'abci==0.8.3',
|
'abci==0.8.3',
|
||||||
'planetmint-cryptoconditions>=0.9.0',
|
#'planetmint-cryptoconditions>=0.9.0',
|
||||||
|
'planetmint-cryptoconditions @ git+https://github.com/planetmint/cryptoconditions.git@gitzenroom',
|
||||||
'flask-cors==3.0.10',
|
'flask-cors==3.0.10',
|
||||||
'flask-restful==0.3.9',
|
'flask-restful==0.3.9',
|
||||||
'flask==2.0.1',
|
'flask==2.0.1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user