Skip to content

Commit 6457777

Browse files
author
Alex Fraser
committed
Removed old apt-proxy-ng detection script.
1 parent b4490b5 commit 6457777

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
FROM ubuntu:14.04
22

3-
MAINTAINER Alex Fraser <alex@vpac-innovations.com.au>
3+
MAINTAINER Kevin Littlejohn <kevin@littlejohn.id.au>, \
4+
Alex Fraser <alex@vpac-innovations.com.au>
45

56
# Install base dependencies.
6-
# Run a caching proxy on the host and bind a port to APT_PROXY_PORT to cache
7-
# apt requests. Build with `docker build --build-arg APT_PROXY_PORT=[X] [...]`.
8-
# Not required if you're using a transparent proxy (like the one built by
9-
# this project).
107
WORKDIR /root
11-
ARG APT_PROXY_PORT=
12-
COPY detect-apt-proxy.sh /root/
138
RUN export DEBIAN_FRONTEND=noninteractive TERM=linux \
14-
&& ./detect-apt-proxy.sh ${APT_PROXY_PORT} no \
159
&& apt-get update \
1610
&& apt-get install -y --no-install-recommends \
1711
build-essential \
@@ -24,8 +18,6 @@ RUN export DEBIAN_FRONTEND=noninteractive TERM=linux \
2418
ssl-cert \
2519
&& apt-get source -y squid3 squid-langpack \
2620
&& apt-get build-dep -y squid3 squid-langpack
27-
# rm -rf /var/lib/apt/lists/* \
28-
# /etc/apt/apt.conf.d/30proxy \
2921

3022
# Customise and build Squid.
3123
# It's silly, but run dpkg-buildpackage again if it fails the first time. This

detect-apt-proxy.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)