Skip to content

Commit

Permalink
Drop dependencies that were needed for old canvas api
Browse files Browse the repository at this point in the history
  • Loading branch information
holzmaster committed Jan 19, 2024
1 parent 73ea605 commit c2b452b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ FROM node:21-slim as dependency-base
RUN apt-get update -yqq \
&& apt-get install -yqq \
python3 build-essential pkg-config \
# https://github.com/Automattic/node-canvas/issues/1065#issuecomment-654706161
libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev \
&& apt-get clean -yqqq

FROM dependency-base as build
Expand All @@ -31,7 +29,6 @@ FROM node:21-slim
fonts-noto-color-emoji \
fontconfig \
fonts-liberation \
libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev \
&& apt-get clean -yqqq \
&& fc-cache -f -v

Expand Down

0 comments on commit c2b452b

Please sign in to comment.