Skip to content

Commit

Permalink
Merge pull request #148 from didi/docker
Browse files Browse the repository at this point in the history
remove docker image version no
  • Loading branch information
zh794390558 committed Oct 24, 2019
2 parents 1872e50 + 01ce812 commit b9ce031
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
before_install:
- export DELTA_PATH=`pwd`; echo $DELTA_PATH
- export DOCKER_DELTA="/home/gitlab-runner/delta"; echo $DOCKER_DELTA
- export CI_IMAGE=zh794390558/delta:2.0.0-ci-cpu-py3
- export CI_IMAGE=zh794390558/delta:ci-cpu-py3
- docker pull ${CI_IMAGE}
- docker run -it -d --name travis_con --user root -v ${DELTA_PATH}:${DOCKER_DELTA} ${CI_IMAGE} bash
- docker exec travis_con bash -c "gcc -v && g++ -v"
Expand Down
16 changes: 8 additions & 8 deletions docs/installation/using_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

You can directly pull the pre-build docker images for DELTA and DELTANN. We have created the following docker images:

- TF2.0.0-delta-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-delta-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- delta-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:delta-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)

- TF2.0.0-delta-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-delta-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- delta-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:delta-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)

- TF2.0.0-deltann-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-deltann-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- deltann-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:deltann-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)

- TF2.0.0-deltann-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-deltann-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- deltann-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:deltann-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)



Expand All @@ -24,10 +24,10 @@ or using pre-build images as belows:
All avaible image tags list in [here](https://cloud.docker.com/repository/docker/zh794390558/delta/tags),
please choose one as needed.

If you choose `2.0.0-delta-cpu-py3`, then download the image as below:
If you choose `delta-cpu-py3`, then download the image as below:

```bash
docker pull zh794390558/delta:2.0.0-delta-cpu-py3
docker pull zh794390558/delta:delta-cpu-py3
```

## Create Container
Expand All @@ -37,7 +37,7 @@ After the image downloaded, create a container.
For **delta** usage (model development):

```bash
cd /path/to/detla && docker run -v `pwd`:/delta -it zh794390558/delta:2.0.0-delta-cpu-py3 /bin/bash
cd /path/to/detla && docker run -v `pwd`:/delta -it zh794390558/delta:delta-cpu-py3 /bin/bash
```

The basic version of **delta** (except Kaldi) was already installed in this container. You can develop in this container like:
Expand All @@ -60,7 +60,7 @@ For **deltann** usage (model deployment):
```bash
cd /path/to/detla
WORKSPACE=$PWD
docker run -it -v $WORKSPACE:$WORKSPACE zh794390558/delta:2.0.0-deltann-cpu-py3 /bin/bash
docker run -it -v $WORKSPACE:$WORKSPACE zh794390558/delta:deltann-cpu-py3 /bin/bash
```

We recommend using a high-end machine to develop DELTANN, since it needs to compile
Expand Down

0 comments on commit b9ce031

Please sign in to comment.