fix: remove quoted strings (hadolint)
This commit is contained in:
+12
-13
@@ -1,23 +1,22 @@
|
|||||||
FROM "ubuntu:18.04"
|
FROM ubuntu:18.04
|
||||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
RUN export DEBIAN_FRONTEND="noninteractive" && \
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
export BUILD_PACKAGES="git-core" && \
|
export BUILD_PACKAGES=git-core && \
|
||||||
export RUNTIME_PACKAGES="python bsdmainutils curl python-six" && \
|
export RUNTIME_PACKAGES="python bsdmainutils curl python-six" && \
|
||||||
apt-get -qq update && \
|
apt-get -qq update && \
|
||||||
apt-get -qq --yes install ${BUILD_PACKAGES} ${RUNTIME_PACKAGES} && \
|
apt-get -qq --yes install ${BUILD_PACKAGES} ${RUNTIME_PACKAGES} && \
|
||||||
git clone "https://github.com/jvehent/cipherscan.git" && \
|
git clone https://github.com/jvehent/cipherscan.git && \
|
||||||
/cipherscan/cscan.sh -l && \
|
/cipherscan/cscan.sh -l && \
|
||||||
apt-get -qq --yes remove --purge ${BUILD_PACKAGES} && \
|
apt-get -qq --yes remove --purge ${BUILD_PACKAGES} && \
|
||||||
apt-get -qq --yes autoremove --purge && \
|
apt-get -qq --yes autoremove --purge && \
|
||||||
apt-get -qq --yes clean all && \
|
apt-get -qq --yes clean all && \
|
||||||
rm -rf "/usr/share/doc/"* \
|
rm -rf /usr/share/doc/* \
|
||||||
"/usr/src/"* \
|
/usr/src/* \
|
||||||
"/var/cache/"* \
|
/var/cache/* \
|
||||||
"/var/lib/apt/lists/"* \
|
/var/lib/apt/lists/* \
|
||||||
"/var/log/"{apt/*,dpkg.log} \
|
/var/log/{apt/*,dpkg.log} \
|
||||||
"/tmp/"*
|
/tmp/*
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/cipherscan/cipherscan" ]
|
||||||
ENTRYPOINT ["/cipherscan/cipherscan"]
|
CMD [ "--help" ]
|
||||||
CMD ["--help"]
|
|
||||||
Reference in New Issue
Block a user