-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathe2b.Dockerfile
More file actions
42 lines (31 loc) · 1.38 KB
/
e2b.Dockerfile
File metadata and controls
42 lines (31 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# FROM e2bdev/code-interpreter:latest
# RUN apt-get update -y && apt-get install -y s3fs
# RUN yes | curl -LsSf https://astral.sh/uv/install.sh | sh
# # Install required LaTeX pkgs
# RUN apt-get update && apt-get install -y --no-install-recommends \
# ffmpeg dvisvgm \
# texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended \
# texlive-fonts-extra cm-super dvipng \
# libcairo2-dev libpango1.0-dev libfreetype6-dev libjpeg-dev libpng-dev \
# curl ca-certificates \
# && rm -rf /var/lib/apt/lists/*
# RUN pip install manim
#base image from e2b.dev with code interpreter
FROM e2bdev/code-interpreter:latest
USER root
# Install s3fs (kept from your original request)
RUN apt-get update -y && apt-get install -y s3fs
# Install uv (kept from your original request)
RUN yes | curl -LsSf https://astral.sh/uv/install.sh | sh
# Install FFmpeg and necessary system dependencies for Manim
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
libcairo2-dev libpango1.0-dev libfreetype6-dev libjpeg-dev libpng-dev \
curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN apt install -y perl
RUN wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh
RUN pip install manim
# RUN apt-get install -y gettext
# RUN apt-get install -y sox libsox-fmt-all
# RUN pip install --upgrade "manim-voiceover[gtts]"