Skip to content

Commit

Permalink
patch pngcrush in dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Mar 17, 2024
1 parent 09641a9 commit d510e84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ FROM libpng as pngcrush
ARG PNGCRUSH_VER
ARG PNGCRUSH_SHA256
COPY download/pngcrush-$PNGCRUSH_VER.tar.gz download/
COPY patches/pngcrush.patch patches/
RUN ./extract pngcrush && \
cd build/pngcrush && \
patch < ../../patches/pngcrush.patch && \
make && \
install -c pngcrush /usr/local/bin

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ FROM libpng as pngcrush
ARG PNGCRUSH_VER
ARG PNGCRUSH_SHA256
COPY download/pngcrush-$PNGCRUSH_VER.tar.gz download/
COPY patches/pngcrush.patch patches/
RUN ./extract pngcrush && \
cd build/pngcrush && \
patch < ../../patches/pngcrush.patch && \
make && \
install -c pngcrush /usr/local/bin

Expand Down

0 comments on commit d510e84

Please sign in to comment.