Skip to content

Commit

Permalink
Imagick support
Browse files Browse the repository at this point in the history
  • Loading branch information
lamka02sk committed May 31, 2024
1 parent e182bb0 commit 1d5ff1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ RUN apt update -y && \
libpng-dev \
libheif-dev \
libpoppler-glib-dev \
libcgif-dev && \
libcgif-dev \
libmagickcore-6.q16-dev && \
apt autoremove && apt-get clean && rm -rf /var/lib/apt/lists/*

# Install libvips
Expand Down
4 changes: 4 additions & 0 deletions docker/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ FROM ubuntu:24.04
RUN groupadd -g 1500 picturium
RUN useradd -u 1500 -g 1500 -m -d /app -s /bin/bash picturium

RUN mkdir -p /home/picturium && chown -R picturium:picturium /home/picturium

COPY --from=build /usr/local/lib /usr/local/lib
COPY --from=build /usr/local/bin/vips /usr/local/bin/vips
COPY --from=build /lib/x86_64-linux-gnu /lib/x86_64-linux-gnu
Expand All @@ -44,5 +46,7 @@ COPY --from=build /home/picturium/picturium/target/release/picturium /usr/local/
RUN ldconfig
USER picturium

ENV PATH="/usr/lib/libreoffice/program:${PATH}"

WORKDIR /app
ENTRYPOINT picturium

0 comments on commit 1d5ff1e

Please sign in to comment.