File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 36
36
env :
37
37
REGISTRY : ghcr.io
38
38
IMAGE_NAME : ${{ github.repository }}
39
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
40
39
steps :
41
40
- name : Checkout
42
41
uses : actions/checkout@v4
67
66
with :
68
67
platforms : linux/arm64,linux/amd64
69
68
file : docker/Dockerfile
70
- push : true
69
+ push : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
71
70
tags : |
72
71
ghcr.io/jeertmans/manim-slides:latest
73
72
ghcr.io/jeertmans/manim-slides:${{ steps.create_release.outputs.tag_name }}
Original file line number Diff line number Diff line change 1
- # Mostly a copy from https://github.com/ManimCommunity/manim/blob/68bd79093e1ebc1ed9f8051942ffe6e72a9e66a7 /docker/Dockerfile
1
+ # Mostly a copy from https://github.com/ManimCommunity/manim/blob/v0.18.1 /docker/Dockerfile
2
2
FROM python:3.11-slim
3
3
4
4
RUN apt-get update -qq \
5
5
&& apt-get install --no-install-recommends -y \
6
- ffmpeg \
7
6
build-essential \
8
7
gcc \
9
8
cmake \
@@ -24,15 +23,17 @@ RUN wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tl
24
23
tar -xzf /tmp/install-tl-unx.tar.gz -C /tmp/install-tl --strip-components=1 && \
25
24
/tmp/install-tl/install-tl --profile=/tmp/texlive-profile.txt \
26
25
&& tlmgr install \
27
- amsmath babel-english cbfonts-fd cm-super ctex doublestroke dvisvgm everysel \
26
+ amsmath babel-english cbfonts-fd cm-super count1to ctex doublestroke dvisvgm everysel \
28
27
fontspec frcursive fundus-calligra gnu-freefont jknapltx latex-bin \
29
- mathastext microtype ms physics preview ragged2e relsize rsfs \
28
+ mathastext microtype multitoc physics prelim2e preview ragged2e relsize rsfs \
30
29
setspace standalone tipa wasy wasysym xcolor xetex xkeyval
31
30
32
31
# clone and build manim-slides
33
32
COPY . /opt/manim-slides
34
33
WORKDIR /opt/manim-slides
35
- RUN pip install --no-cache manim[jupyterlab] .[sphinx-directive]
34
+ ENV UV_PYTHON=/usr/local/bin/python
35
+ RUN pip install --no-cache-dir uv
36
+ RUN uv pip install --no-cache-dir manim[jupyterlab] .[sphinx-directive]
36
37
37
38
ARG NB_USER=manimslidesuser
38
39
ARG NB_UID=1000
You can’t perform that action at this time.
0 commit comments