Skip to content

Commit

Permalink
RUN apk add libjpeg-turbo to work with imagemagick 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido committed Nov 28, 2024
1 parent 913be23 commit 26f6365
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apk add --no-cache git

RUN apk add --no-cache \
postgresql-libs

# RUN apk add imagemagick6-dev -U --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
RUN apk add --no-cache --virtual .build-deps \
gcc \
Expand All @@ -28,8 +29,9 @@ RUN apk add --no-cache --virtual .build-deps \
fribidi-dev \
libxslt-dev

RUN apk add imagemagick-dev imagemagick
RUN magick -list format
RUN apk add libjpeg-turbo
RUN apk add imagemagick-dev imagemagick

RUN apk add yaml-dev

COPY miller ./miller
Expand All @@ -46,4 +48,6 @@ ENV MILLER_GIT_TAG=${GIT_TAG}
ENV MILLER_GIT_BRANCH=${GIT_BRANCH}
ENV MILLER_GIT_REVISION=${GIT_REVISION}
ENV MAGICK_HOME=/usr

RUN magick -list format
ENTRYPOINT ["python", "./manage.py", "runserver"]

0 comments on commit 26f6365

Please sign in to comment.