Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…mplate-preview into Wand_Memory_prob
  • Loading branch information
venusbb committed Jul 20, 2017
2 parents 9a5433d + ee95e70 commit 6724da3
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,15 @@ RUN \
imagemagick \
gsfonts

WORKDIR /tmp/

RUN \
echo "Downloading newer version of Cairo" \
&& curl https://www.cairographics.org/releases/cairo-1.14.8.tar.xz | tar xvfJ - -C .

WORKDIR /tmp/cairo-1.14.8/

RUN \
echo "Installing newer version of Cairo" \
&& ./configure \
&& make \
&& make install

WORKDIR /
RUN echo "Install libcairo2 from stretch" \
&& echo 'APT::Default-Release "jessie";' > /etc/apt/apt.conf \
&& mv /etc/apt/sources.list /etc/apt/sources.list.d/jessie.list \
&& echo "deb http://deb.debian.org/debian stretch main" \
> /etc/apt/sources.list.d/stretch.list

RUN apt-get -y update
RUN apt-get -t stretch install -y libcairo2=1.14.8-1
RUN apt-get -y clean

RUN \
echo "Clean up" \
Expand Down

0 comments on commit 6724da3

Please sign in to comment.