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 3636 env :
3737 REGISTRY : ghcr.io
3838 IMAGE_NAME : ${{ github.repository }}
39- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
4039 steps :
4140 - name : Checkout
4241 uses : actions/checkout@v4
6766 with :
6867 platforms : linux/arm64,linux/amd64
6968 file : docker/Dockerfile
70- push : true
69+ push : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
7170 tags : |
7271 ghcr.io/jeertmans/manim-slides:latest
7372 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
22FROM python:3.11-slim
33
44RUN apt-get update -qq \
55 && apt-get install --no-install-recommends -y \
6- ffmpeg \
76 build-essential \
87 gcc \
98 cmake \
@@ -24,15 +23,17 @@ RUN wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tl
2423 tar -xzf /tmp/install-tl-unx.tar.gz -C /tmp/install-tl --strip-components=1 && \
2524 /tmp/install-tl/install-tl --profile=/tmp/texlive-profile.txt \
2625 && 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 \
2827 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 \
3029 setspace standalone tipa wasy wasysym xcolor xetex xkeyval
3130
3231# clone and build manim-slides
3332COPY . /opt/manim-slides
3433WORKDIR /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]
3637
3738ARG NB_USER=manimslidesuser
3839ARG NB_UID=1000
You can’t perform that action at this time.
0 commit comments