Skip to content

Commit

Permalink
[CE-263] Create dockerfiles for v0.8.0-beta
Browse files Browse the repository at this point in the history
This is for engine service

Change-Id: I77af7ce2ac58f5e2f229162aa096e22bb9872dff
Signed-off-by: sally <lujjiang@cn.ibm.com>
  • Loading branch information
lujjiang committed Feb 6, 2018
1 parent 1a2c810 commit a1f8a06
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dockerhub/v0.8.0-beta/engine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

# Copyright IBM Corp, All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
FROM hyperledger/cello-baseimage:x86_64-0.8.0-beta
MAINTAINER Baohua Yang <"baohyang@cn.ibm.com">
ENV TZ Asia/Shanghai

WORKDIR /app
COPY ./requirements.txt /app
RUN pip install -r requirements.txt

RUN apt-get install -y wget git-core
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
RUN cp -r /tmp/cello/src /app

WORKDIR /app/src
# use this in development
CMD ["python", "restserver.py"]

# use this in product
#CMD ["gunicorn", "-w", "128", "-b", "0.0.0.0:80", "restserver:app"]
20 changes: 20 additions & 0 deletions dockerhub/v0.8.0-beta/engine/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# Copyright IBM Corp, All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
docker-compose>=1.16.0,<=1.18.0
Flask>=0.10.0,<=1.12.0
greenlet>=0.4.5,<=0.4.12
gunicorn>=19.0.0,<=19.6.0
pymongo>=3.2.0,<=3.4.0
requests>=2.0.0,<=2.13.0
mongoengine>=0.10.0,<=0.13.0
flask-login>=0.4.0,<=0.4.0
bcrypt>=3.0.0,<=3.1.0
flask-restful>=0.2.1,<=0.3.6
Flask-Testing>=0.5.0,<=0.6.2
Faker>=0.7.17,<=0.7.18
pyvmomi>=5.5.0,<=6.5.0
enum34>=1.1.0,<=1.1.6
marshmallow>=2.13.6,<=2.14.0

0 comments on commit a1f8a06

Please sign in to comment.