17.10 -> 18.04, uniformisation avec les autres dockers ubuntu
This commit is contained in:
parent
9d579e39ab
commit
84d7f9a254
16
Dockerfile
16
Dockerfile
@ -1,11 +1,15 @@
|
|||||||
FROM "ubuntu:17.10"
|
FROM "ubuntu:18.04"
|
||||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
RUN apt-get -qq update && \
|
|
||||||
apt-get -qq --yes install git-core python bsdmainutils curl python-six && \
|
RUN export DEBIAN_FRONTEND="noninteractive" && \
|
||||||
git clone https://github.com/jvehent/cipherscan.git && \
|
export BUILD_PACKAGES="git-core" && \
|
||||||
|
export RUNTIME_PACKAGES="python bsdmainutils curl python-six" && \
|
||||||
|
apt-get -qq update && \
|
||||||
|
apt-get -qq --yes install ${BUILD_PACKAGES} ${RUNTIME_PACKAGES} && \
|
||||||
|
git clone "https://github.com/jvehent/cipherscan.git" && \
|
||||||
/cipherscan/cscan.sh -l && \
|
/cipherscan/cscan.sh -l && \
|
||||||
apt-get -qq --yes remove --purge git-core && \
|
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/"* \
|
||||||
@ -18,7 +22,7 @@ RUN apt-get -qq update && \
|
|||||||
"/tmp/"*
|
"/tmp/"*
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /cipherscan
|
WORKDIR "/cipherscan"
|
||||||
|
|
||||||
ENTRYPOINT ["/cipherscan/cipherscan"]
|
ENTRYPOINT ["/cipherscan/cipherscan"]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user