Skip to content

Commit 49cb482

Browse files
committed
initial commit
0 parents  commit 49cb482

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
apt-cacher-ng
2+
images

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "variant-custom"]
2+
path = variant-custom
3+
url = [email protected]:Xychic/custom-kali-iso.git

BuildContainer.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker build . -t live-build/live-build-container

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM kalilinux/kali-rolling
2+
3+
RUN apt-get update
4+
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y default-jdk default-jre curl git live-build cdebootstrap fdisk vim time avahi-daemon apt-cacher-ng
5+
RUN echo 'Acquire::http::Proxy "http://localhost:3142";' | tee /etc/apt/apt.conf.d/proxy
6+
RUN mkdir -p /home/live-build-kali
7+
RUN git clone https://gitlab.com/kalilinux/build-scripts/live-build-config /home/live-build-kali
8+
9+
WORKDIR /home/live-build-kali
10+
ENTRYPOINT []

EnterContainer.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sudo docker run --rm --privileged -it -v /proc:/proc -v ./images:/home/live-build-kali/images -v ./variant-custom:/home/live-build-kali/kali-config/variant-custom -v ./apt-cacher-ng:/var/cache/apt-cacher-ng live-build/live-build-container bash -c "/etc/init.d/apt-cacher-ng start; bash"

variant-custom

Submodule variant-custom added at fe43045

0 commit comments

Comments
 (0)