mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +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>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN buildDeps=' \
|
RUN apt-get update && apt-get install -y \
|
||||||
unzip \
|
pandoc \
|
||||||
' \
|
--no-install-recommends \
|
||||||
&& set -x \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
&& 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
|
|
||||||
|
|
||||||
ENTRYPOINT [ "pandoc" ]
|
ENTRYPOINT ["pandoc"]
|
||||||
|
|
|
@ -4,9 +4,8 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
file \
|
file \
|
||||||
|
shellcheck \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y shellcheck
|
|
||||||
|
|
||||||
CMD ["shellcheck"]
|
CMD ["shellcheck"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user