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:
Jürgen Eckel 2022-02-15 00:02:03 +01:00
parent ad01c4c543
commit dd8f39712e
6 changed files with 55 additions and 33 deletions

View File

@ -5,7 +5,7 @@ COPY . /usr/src/app/
WORKDIR /usr/src/app
RUN apt-get -qq update \
&& apt-get -y upgrade \
&& apt-get install -y jq \
&& apt-get install -y jq vim zsh build-essential cmake\
&& pip install . \
&& apt-get autoremove \
&& apt-get clean

View File

@ -9,7 +9,7 @@ WORKDIR /usr/src/app
RUN apk --update add sudo bash \
&& 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 \
&& apk add --no-cache libstdc++ dpkg gnupg \
&& pip3 install --upgrade pip cffi \

View File

@ -5,7 +5,7 @@ COPY . /usr/src/app/
WORKDIR /usr/src/app
RUN apk --update add sudo \
&& 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 \
&& apk add --no-cache libstdc++ \
&& pip3 install --upgrade pip cffi \

View File

@ -3,7 +3,7 @@ FROM python:${python_version}
LABEL maintainer "contact@ipdb.global"
RUN apt-get update \
&& apt-get install -y git zsh\
&& apt-get install -y git zsh vim build-essential cmake\
&& pip install -U pip \
&& apt-get autoremove \
&& apt-get clean

View File

@ -1,40 +1,61 @@
FROM python:3.9
RUN apt-get update && apt-get install -y vim zsh
RUN apt-get update \
&& 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
&& apt-get clean
RUN apt-get install -y vim zsh build-essential cmake
RUN mkdir -p /src
RUN pip install --upgrade \
pycco \
#zenroom>=2.0.0
#git+https://github.com/dyne/Zenroom.git@gitzenroom#subdirectory=bindings/python3 \
websocket-client~=0.47.0 \
pytest~=3.0 \
git+https://github.com/planetmint/cryptoconditions.git@gitzenroom \
#git+https://github.com/planetmint/planetmint-driver.git@gitzenroom \
#planetmint-cryptoconditions>=0.9.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
blns
#FROM python:3.9
#
#RUN apt-get update && apt-get install -y vim zsh
#RUN apt-get update \
# && 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
#

View File

@ -76,7 +76,8 @@ install_requires = [
'chardet==3.0.4',
'aiohttp==3.7.4',
'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-restful==0.3.9',
'flask==2.0.1',