forked from pjkundert/cpppo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
2 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
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 |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
|
||
IMAGES = cpppo/base \ | ||
cpppo/cpppo \ | ||
cpppo/scada | ||
cpppo/scada \ | ||
cpppo/mongrel2 | ||
|
||
UPDATE = | ||
|
||
|
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,19 @@ | ||
# -*- mode: conf -*- | ||
FROM cpppo/cpppo | ||
MAINTAINER Perry Kundert "[email protected]" | ||
RUN apt-get install -y git | ||
RUN mkdir src | ||
RUN cd src; git clone git://github.com/zeromq/zeromq3-x.git; cd zeromq3-x; git checkout master | ||
RUN cd src; git clone git://github.com/cython/cython.git; cd cython; git checkout 0.18 | ||
RUN cd src; git clone git://github.com/zeromq/pyzmq.git; cd pyzmq; git checkout v13.1.0 | ||
RUN cd src; git clone git://github.com/zedshaw/mongrel2.git; cd mongrel2; git checkout develop | ||
RUN apt-get install -y libtool autoconf automake python-dev uuid-dev sqlite3 libsqlite3-dev build-essential | ||
RUN cd src/zeromq3-x; ./autogen.sh; ./configure; make V=1; make install; ldconfig | ||
RUN cd src/cython; python setup.py install | ||
RUN cd src/pyzmq; python setup.py configure --zmq=/usr/local; python setup.py install | ||
RUN cd src/mongrel2; make; make install | ||
RUN cd src/mongrel2/examples/python; python setup.py install | ||
|
||
#EXPOSE 44818 | ||
#ENTRYPOINT [ "python", "-m", "cpppo.server.enip" ] | ||
#CMD [ "SCADA=dint[1000]" ] |