From 5f167578abf6bd3a87dd5e196beded40a7d74fbc Mon Sep 17 00:00:00 2001
From: Bernhard Ehlers
Date: Sat, 27 May 2023 16:08:34 +0200
Subject: [PATCH] Update docker container
- chromium: add a dummy layer to get an updated container timestamp
- ipterm: add a dummy layer to get an updated container timestamp
- kalilinux: replaced outdated python-scapy by python3-scapy
---
docker/chromium/Dockerfile | 3 +++
docker/ipterm/cli/Dockerfile | 3 +++
docker/kalilinux/Dockerfile | 2 +-
docker/kalilinux/README.md | 2 +-
docker/kalilinux/index-1.html | 2 +-
5 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/docker/chromium/Dockerfile b/docker/chromium/Dockerfile
index bab8476..5afae61 100644
--- a/docker/chromium/Dockerfile
+++ b/docker/chromium/Dockerfile
@@ -1,4 +1,7 @@
FROM jess/chromium
MAINTAINER developers@gns3.net
+# add a dummy layer to get an updated container timestamp
+RUN /bin/true
+
VOLUME /data
diff --git a/docker/ipterm/cli/Dockerfile b/docker/ipterm/cli/Dockerfile
index dfa9009..d34eb8a 100644
--- a/docker/ipterm/cli/Dockerfile
+++ b/docker/ipterm/cli/Dockerfile
@@ -2,5 +2,8 @@
FROM gns3/ipterm-base
+# add a dummy layer to get an updated container timestamp
+RUN /bin/true
+
VOLUME [ "/root" ]
CMD [ "sh", "-c", "cd; exec bash -i" ]
diff --git a/docker/kalilinux/Dockerfile b/docker/kalilinux/Dockerfile
index e013587..5282cf2 100644
--- a/docker/kalilinux/Dockerfile
+++ b/docker/kalilinux/Dockerfile
@@ -1,6 +1,6 @@
FROM kalilinux/kali-rolling
-RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y tshark && apt-get install -y --no-install-recommends metasploit-framework nmap hydra sqlmap telnet openssh-client dnsutils yersinia ettercap-text-only cisco-global-exploiter cisco-auditing-tool snmp dsniff dnschef fping hping3 python-scapy\
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y tshark && apt-get install -y --no-install-recommends metasploit-framework nmap hydra sqlmap telnet openssh-client dnsutils yersinia ettercap-text-only cisco-global-exploiter cisco-auditing-tool snmp dsniff dnschef fping hping3 python3-scapy\
&& rm -rf /var/lib/apt/lists/*
CMD /bin/bash
diff --git a/docker/kalilinux/README.md b/docker/kalilinux/README.md
index 18ed695..2a503de 100644
--- a/docker/kalilinux/README.md
+++ b/docker/kalilinux/README.md
@@ -20,7 +20,7 @@ metasploit-framework
* fping
* hping3
* tshark
- * python-scapy
+ * python3-scapy
* yersinia
## Build and publish the Images
diff --git a/docker/kalilinux/index-1.html b/docker/kalilinux/index-1.html
index 3a1b27a..3f916b3 100644
--- a/docker/kalilinux/index-1.html
+++ b/docker/kalilinux/index-1.html
@@ -19,7 +19,7 @@ metasploit-framework
* fping
* hping3
* tshark
- * python-scapy
+ * python3-scapy
* yersinia
Build and publish the Images
First the base image has to be created: