Skip to content

Commit

Permalink
add ghostscript
Browse files Browse the repository at this point in the history
  • Loading branch information
phith0n committed Aug 22, 2018
1 parent 6100edc commit 9e54a51
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions base/ghostscript/9.21/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM debian:jessie

LABEL maintainer="phith0n <[email protected]>"

ARG GHOSTSCRIPT_VERSION=9.21

RUN set -ex \
&& apt-get update \
&& apt-get install --no-install-recommends -y wget \
&& wget -qO- https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-${GHOSTSCRIPT_VERSION}-linux-x86_64.tgz \
| tar zx --strip-components 1 -C /tmp/ \
&& mkdir -p /opt/ghostscript \
&& mv /tmp/gs-* /usr/local/bin/gs \
&& apt-get purge --auto-remove -y wget \
&& rm -rf /var/lib/apt/lists/* /tmp/*

0 comments on commit 9e54a51

Please sign in to comment.