-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CE-261] Create dockerfiles for v0.8.0
This is for watchdog service For v0.8.0-alpha/v0.8.0-beta tag Change-Id: I97c7e177c28fc53a73ce895de800f37c0d0e3386 Signed-off-by: yoyokeen <602840159@qq.com>
- Loading branch information
Showing
4 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright IBM Corp, All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
FROM hyperledger/cello-baseimage:x86_64-0.8.0-alpha | ||
MAINTAINER Yinxia Zhang <"zhangyinxia@inspur.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", "watchdog.py"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright IBM Corp, All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
FROM hyperledger/cello-baseimage:x86_64-0.8.0-beta | ||
MAINTAINER Yinxia Zhang <"zhangyinxia@inspur.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", "watchdog.py"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |