Skip to content

Commit fc4daa1

Browse files
committed
Allow HTTPS traffic to pass through apt cache
1 parent 68173f6 commit fc4daa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM kalilinux/kali-rolling
33
RUN apt-get update
44
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
55
RUN echo 'Acquire::http::Proxy "http://localhost:3142";' | tee /etc/apt/apt.conf.d/proxy
6+
RUN echo 'PassThroughPattern: ^(.*):443$'| tee -a /etc/apt-cacher-ng/acng.conf
67
RUN mkdir -p /home/live-build-kali
78
RUN git clone https://gitlab.com/kalilinux/build-scripts/live-build-config /home/live-build-kali
89

0 commit comments

Comments
 (0)