import
This commit is contained in:
commit
7d9cdb2b28
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@ -0,0 +1,26 @@
|
||||
FROM "ubuntu:17.10"
|
||||
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
|
||||
|
||||
ENV DEBIAN_FRONTEND="noninteractive"
|
||||
|
||||
RUN apt-get -qq update && \
|
||||
apt-get -qqy install wget python xz-utils xvfb && \
|
||||
wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" && \
|
||||
apt-get -qqy remove --purge wget xz-utils && \
|
||||
apt-get -qqy autoremove --purge && \
|
||||
apt-get -qqy clean all && \
|
||||
rm -rf "/usr/share/doc/*" \
|
||||
"/var/cache/*" \
|
||||
"/var/lib/apt/lists/*" \
|
||||
"/usr/src/*" \
|
||||
"/var/log/"{apt/*,dpkg.log} \
|
||||
"/tmp/*"
|
||||
|
||||
# Add Tini
|
||||
ENV "TINI_VERSION" "v0.16.1"
|
||||
ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini"
|
||||
RUN chmod +x "/tini"
|
||||
ENTRYPOINT ["/tini", "--"]
|
||||
|
||||
# TODO: à changer
|
||||
#CMD ["/cipherscan/cipherscan"]
|
||||
Loading…
x
Reference in New Issue
Block a user