This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ test
2+ env
Original file line number Diff line number Diff line change 1+ FROM ubuntu:14.04.2
2+ MAINTAINER Ondrej Klejch
3+
4+ WORKDIR /opt/app/alex-asr
5+ RUN apt-get update && \
6+ apt-get install -y build-essential libatlas-base-dev python python-dev python-pip git wget gfortran g++ unzip zlib1g-dev automake autoconf libtool subversion
7+
8+ ADD requirements.txt prepare_env.sh /opt/app/alex-asr/
9+ RUN pip install -r requirements.txt && bash prepare_env.sh
10+
11+ ADD . /opt/app/alex-asr/
12+ RUN make -j 4 && python setup.py install
Original file line number Diff line number Diff line change @@ -73,4 +73,13 @@ clean:
7373test :
7474 (PYTHONPATH=$( shell echo build/lib.* ) python test/test.py )
7575
76+ docker_build :
77+ docker build -t choko/alex-asr .
7678
79+ docker_test :
80+ docker run -i -t --rm \
81+ -v `pwd`/test :/opt/app/alex-asr/test \
82+ -v `pwd`/Makefile :/opt/app/alex-asr/Makefile \
83+ -v `pwd`/src :/opt/app/alex-asr/src \
84+ choko/alex-asr \
85+ bash -c "make -j 4 && python setup.py install && cd test && python test.py"
You can’t perform that action at this time.
0 commit comments