fix continuation lines

This commit is contained in:
sparklyballs 2017-12-22 07:19:37 +00:00
parent b82b59e8a1
commit 788d31a33e

View File

@ -6,8 +6,8 @@ ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# install build packages
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
binutils-gold \
ghc \
@ -17,22 +17,19 @@ RUN \
apk add --no-cache --virtual=build-dependencies \
--repository http://nl.alpinelinux.org/alpine/edge/community \
cabal && \
# compile shellcheck
echo "**** compile shellcheck ****" && \
git clone https://github.com/koalaman/shellcheck /tmp/shellcheck && \
cd /tmp/shellcheck && \
cabal update && \
cabal install && \
# install shellcheck
echo "**** install shellcheck ****" && \
cp /root/.cabal/bin/shellcheck /usr/local/bin/ && \
ldd \
/root/.cabal/bin/shellcheck | grep "=> /" \
| awk '{print $3}' | xargs -I '{}' cp -v '{}' \
/usr/local/lib/ && \
ldconfig /usr/local/lib && \
# cleanup
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \