From c2f3257fbd14b89fd472debd294e60dfb790c78c Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 18 Jul 2018 19:58:58 -0400 Subject: [PATCH] update dockerfiles Signed-off-by: Jess Frazelle --- pandoc/Dockerfile | 17 ++++++----------- shellcheck/Dockerfile | 3 +-- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/pandoc/Dockerfile b/pandoc/Dockerfile index 5336a39..543b7a0 100644 --- a/pandoc/Dockerfile +++ b/pandoc/Dockerfile @@ -1,14 +1,9 @@ -FROM haskell +FROM debian:buster-slim LABEL maintainer "Jessie Frazelle " -RUN buildDeps=' \ - unzip \ - ' \ - && set -x \ - && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ - && rm -rf /var/lib/apt/lists/* \ - && cabal update \ - && cabal install pandoc pandoc-citeproc \ - && apt-get purge -y --auto-remove $buildDeps +RUN apt-get update && apt-get install -y \ + pandoc \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* -ENTRYPOINT [ "pandoc" ] +ENTRYPOINT ["pandoc"] diff --git a/shellcheck/Dockerfile b/shellcheck/Dockerfile index c7b0b67..2e66807 100644 --- a/shellcheck/Dockerfile +++ b/shellcheck/Dockerfile @@ -4,9 +4,8 @@ LABEL maintainer "Jessie Frazelle " RUN apt-get update && apt-get install -y \ file \ + shellcheck \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/* -RUN apt-get update && apt-get install -y shellcheck - CMD ["shellcheck"]