Skip to content

Commit

Permalink
fix #58 : add curl in docker
Browse files Browse the repository at this point in the history
Signed-off-by: AudranBert <[email protected]>
  • Loading branch information
AudranBert committed Jan 7, 2025
1 parent 6813545 commit 754974d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions kaldi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN apt-get update && \
g++ \
make \
cmake \
curl \
git \
zlib1g-dev \
automake \
Expand Down
2 changes: 1 addition & 1 deletion whisper/Dockerfile.ctranslate2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/opennmt/ctranslate2:latest-ubuntu20.04-cuda12.2
LABEL maintainer="[email protected], [email protected], [email protected]"

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ffmpeg git
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ffmpeg git curl

# Install python dependencies
COPY whisper/requirements.ctranslate2.txt ./
Expand Down
2 changes: 1 addition & 1 deletion whisper/Dockerfile.ctranslate2.cpu
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.9
LABEL maintainer="[email protected], [email protected], [email protected]"

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ffmpeg git
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ffmpeg git curl

# Install python dependencies
COPY whisper/requirements.ctranslate2.txt ./
Expand Down
2 changes: 1 addition & 1 deletion whisper/Dockerfile.torch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.9
LABEL maintainer="[email protected], [email protected], [email protected]"

RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg curl

# Install python dependencies
COPY whisper/requirements.torch.txt ./
Expand Down
2 changes: 1 addition & 1 deletion whisper/Dockerfile.torch.cpu
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.9
LABEL maintainer="[email protected], [email protected], [email protected]"

RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg curl

# Force CPU versions of torch
RUN pip3 install \
Expand Down

0 comments on commit 754974d

Please sign in to comment.