Skip to content

Commit

Permalink
Dockerfile (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
benfoley authored Sep 5, 2023
1 parent d50dfbc commit 95c6337
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ FROM ubuntu:20.04

########################## BEGIN INSTALLATION #########################

ENV NUM_CPUS=6
ENV NUM_CPUS=1

ENV TZ=UTC

# Clean up package manager
RUN apt-get clean autoclean

RUN export DEBIAN_FRONTEND="noninteractive" && apt-get update && apt-get install -y --fix-missing \
autoconf \
automake \
Expand Down Expand Up @@ -66,6 +69,9 @@ RUN echo "===> Install pyenv Python 3.10" && \

########################## KALDI INSTALLATION #########################

# Clean up package manager
RUN apt-get clean autoclean

RUN echo "===> Install Python 2.7 for Kaldi" && \
add-apt-repository universe && \
apt-get update && apt-get install -y \
Expand Down Expand Up @@ -111,11 +117,14 @@ RUN ./extras/install_srilm.sh
RUN chmod +x env.sh && \
source ./env.sh

RUN apt-get install -y libssl-dev libsqlite3-dev libbz2-dev
RUN apt-get update && apt-get install -y libssl-dev libsqlite3-dev libbz2-dev


########################## DEV HELPERS INSTALLATION ####################

# Clean up package manager
RUN apt-get clean autoclean

WORKDIR /tmp

RUN echo "===> Install dev helpers"
Expand Down

0 comments on commit 95c6337

Please sign in to comment.