mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Revert "Consolidates apt package installations."
This reverts commit 4ba9f6b5a3
.
This commit is contained in:
parent
9077860f97
commit
9b76c29fc7
1 changed files with 10 additions and 8 deletions
18
Dockerfile
18
Dockerfile
|
@ -1,32 +1,34 @@
|
|||
FROM ubuntu:18.04
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# Install required packages.
|
||||
RUN apt-get update -qqy
|
||||
RUN apt-get install -qqy --no-install-recommends apt-utils
|
||||
|
||||
WORKDIR /root
|
||||
RUN apt-get install -qqy build-essential libsqlite3-dev sqlite3 bzip2 \
|
||||
libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev \
|
||||
libgdbm-compat-dev liblzma-dev libreadline-dev \
|
||||
libncursesw5-dev libffi-dev uuid-dev \
|
||||
libcairo2-dev libjpeg-dev libgif-dev ffmpeg \
|
||||
apt-transport-https texlive-full sox git
|
||||
|
||||
# Install Python 3.7.
|
||||
WORKDIR /root
|
||||
libncursesw5-dev libffi-dev uuid-dev
|
||||
RUN apt-get install -qqy wget
|
||||
RUN wget -q https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz
|
||||
RUN tar -xf Python-3.7.0.tgz
|
||||
WORKDIR Python-3.7.0
|
||||
RUN ./configure > /dev/null && make -s && make -s install
|
||||
RUN python3 -m pip install --upgrade pip
|
||||
RUN apt-get install -qqy libcairo2-dev libjpeg-dev libgif-dev
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN python3 -m pip install -r requirements.txt
|
||||
WORKDIR /root
|
||||
RUN rm -rf Python-3.7.0*
|
||||
|
||||
# Setup timezone.
|
||||
RUN apt-get install -qqy ffmpeg
|
||||
|
||||
ENV TZ=America/Los_Angeles
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
RUN apt-get install -qqy apt-transport-https
|
||||
RUN apt-get install -qqy texlive-full
|
||||
RUN apt-get install -qqy sox
|
||||
RUN apt-get install -qqy git
|
||||
|
||||
ENV DEBIAN_FRONTEND teletype
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
|
|
Loading…
Add table
Reference in a new issue