Skip to content

Instantly share code, notes, and snippets.

Created October 29, 2016 22:41
Show Gist options
  • Save anonymous/d07569b92a89d7fb5bd80430a23c45bb to your computer and use it in GitHub Desktop.
Save anonymous/d07569b92a89d7fb5bd80430a23c45bb to your computer and use it in GitHub Desktop.
RUN echo "deb-src http://httpredir.debian.org/debian/ sid main contrib non-free" \
>> /etc/apt/sources.list.d/sources.list \
echo "deb http://ftp.debian.org/debian jessie-backports main" \
>> /etc/apt/sources.list.d/sources.list \
&& apt-get update \
&& apt-get install -y build-essential \
&& mkdir -p /tmp/gm-build \
&& cd /tmp/gm-build \
&& apt-get build-dep -y graphicsmagick \
&& apt-get -b source graphicsmagick \
&& dpkg -i libgraphicsmagick-q16-3_1.3.25-5_amd64.deb \
&& dpkg -i graphicsmagick_1.3.25-5_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment