Skip to content

Commit

Permalink
Fix a bug in building docker container
Browse files Browse the repository at this point in the history
`sed -i` lineno changed.
  • Loading branch information
protoget authored Sep 16, 2019
1 parent 2c961b3 commit c22aa85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/prebuilt/local/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ WORKDIR /espnet/tools
RUN if [ -z "$( nvcc -V )" ]; then \
make KALDI=/kaldi CUPY_VERSION=''; \
else \
sed -i '159s|install.py|install.py --no-cupy|' Makefile && \
sed -i '19s|nvidia-smi|nvcc|' Makefile && \
sed -i '161s|install.py|install.py --no-cupy|' Makefile && \
sed -i '21s|nvidia-smi|nvcc|' Makefile && \
make KALDI=/kaldi CUDA_VERSION=${CUDA_VER}; \
fi

Expand Down

0 comments on commit c22aa85

Please sign in to comment.