update dockerfiles

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-07-18 19:58:58 -04:00
parent 325d8a9ad2
commit c2f3257fbd
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 7 additions and 13 deletions

View File

@ -1,14 +1,9 @@
FROM haskell
FROM debian:buster-slim
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
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"]

View File

@ -4,9 +4,8 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
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"]