mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
update dockerfiles
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
325d8a9ad2
commit
c2f3257fbd
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user