1
0
mirror of https://github.com/jessfraz/dockerfiles.git synced 2025-04-11 14:42:46 +02:00

Replaced and optimised shellcheck dockerfile ()

This commit is contained in:
Umesh Yadav 2018-01-03 18:20:23 -05:00 committed by Jess Frazelle
parent c1f57d214a
commit ed4b72323a

@ -1,4 +1,5 @@
FROM haskell FROM debian:buster-slim
LABEL maintainer "Jessie Frazelle <jess@linux.com>" LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
@ -6,6 +7,6 @@ RUN apt-get update && apt-get install -y \
--no-install-recommends \ --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN cabal update && cabal install shellcheck RUN apt-get update && apt-get install -y shellcheck
CMD ["shellcheck"] CMD ["shellcheck"]