mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 13:34:20 +00:00
small fixes
This commit is contained in:
parent
1a5abfc348
commit
bae8df8b0f
3
.github/workflows/build-docker-image.yml
vendored
3
.github/workflows/build-docker-image.yml
vendored
@ -2,6 +2,9 @@
|
|||||||
# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages
|
# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages
|
||||||
name: Build docker image
|
name: Build docker image
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- docker2
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
@ -44,11 +44,15 @@ RUN pip install --no-cache-dir \
|
|||||||
typeguard \
|
typeguard \
|
||||||
dill
|
dill
|
||||||
|
|
||||||
|
RUN cd /opt/conda/lib/stubs && ln -s libcuda.so libcuda.so.1
|
||||||
|
|
||||||
RUN git clone https://github.com/k2-fsa/icefall /workspace/icefall && \
|
RUN git clone https://github.com/k2-fsa/icefall /workspace/icefall && \
|
||||||
cd /workspace/icefall && \
|
cd /workspace/icefall && \
|
||||||
pip install --no-cache-dir -r requirements.txt
|
pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
ENV PYTHONPATH /workspace/icefall:$PYTHONPATH
|
ENV PYTHONPATH /workspace/icefall:$PYTHONPATH
|
||||||
|
|
||||||
|
ENV LD_LIBRARY_PATH /opt/conda/lib/stubs:$LD_LIBRARY_PATH
|
||||||
|
|
||||||
WORKDIR /workspace/icefall
|
WORKDIR /workspace/icefall
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user