Added Split Dockerfile

+Seperate Dockerfiles for Base Image and Installation/Update
+Added Script to build and push automatically
This commit is contained in:
tke
2020-01-24 12:49:39 +01:00
parent 481b056b39
commit 2137ee7428
3 changed files with 28 additions and 0 deletions

9
Dockerfile_base Normal file
View File

@@ -0,0 +1,9 @@
FROM ubuntu:18.04
LABEL maintainer="tabledevil"
LABEL docker.cmd="docker run -it --rm -v /mnt/sdc1:/data tabledevil/kaspersky"
RUN apt update && apt install -y wget perl
RUN wget "https://products.s.kaspersky-labs.com/endpoints/keslinux10/10.1.1.6421/multilanguage-10.1.1.6421/babce9ef/kesl_10.1.1-6421_amd64.deb" && dpkg -i kesl_10.1.1-6421_amd64.deb && rm kesl_10.1.1-6421_amd64.deb
ADD answer.txt /root/answer.txt
ADD start.sh /root/start.sh
add readme /root/readme
RUN chmod +x /root/start.sh