Skip to content

Commit

Permalink
make slug size smaller for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Dec 18, 2023
1 parent 894440c commit a5fc7ec
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ jobs:
- name: Install platform dependencies
run: |
sudo apt -y update
sudo apt -y install $(cat Aptfile | grep -v '^pandoc$' | xargs)
sudo apt -y install --no-install-recommends \
texlive-latex-base \
texlive-latex-recommended \
texlive-plain-generic \
lmodern
- name: Install pandoc
run: |
wget https://github.com/jgm/pandoc/releases/download/2.17.1.1/pandoc-2.17.1.1-1-amd64.deb
Expand Down
6 changes: 0 additions & 6 deletions Aptfile
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
pandoc
texlive-latex-base
texlive-latex-recommended
texlive-fonts-recommended
texlive-plain-generic
lmodern
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
texlive-plain-generic \
lmodern

RUN case $(uname -m) in \
"x86_64") ARCH=amd64 ;; \
"aarch64") ARCH=arm64 ;; \
esac \
&& wget --quiet https://github.com/jgm/pandoc/releases/download/2.17.1.1/pandoc-2.17.1.1-1-${ARCH}.deb \
&& dpkg -i pandoc-2.17.1.1-1-${ARCH}.deb

RUN mkdir /code
WORKDIR /code

Expand Down
2 changes: 2 additions & 0 deletions texlive.packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
xcolor
etoolbox

0 comments on commit a5fc7ec

Please sign in to comment.