Skip to content

Commit 613bb86

Browse files
author
Phillipp von Rotenhan
committed
refs #1 Switched to alpine linux as base image for smaller total docker image size. Therefore also excluded the cntlm sources from this repo. Instead the cntlm sources are loaded when building the docker image.
1 parent e840758 commit 613bb86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+24
-10679
lines changed

Dockerfile

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
1-
FROM jaschac/debian-gcc
1+
FROM alpine:3.4
22
MAINTAINER Jascha Casadio <jascha@lostinmalloc.com>
3+
4+
RUN apk update \
5+
&& apk upgrade \
6+
&& apk add g++ \
7+
make \
8+
curl \
9+
bash \
10+
autoconf \
11+
&& mkdir -p /usr/local/src/ \
12+
&& cd /usr/local/src/ \
13+
&& curl -L -O http://downloads.sourceforge.net/sourceforge/cntlm/cntlm-0.92.3.tar.gz \
14+
&& tar zxvf cntlm-0.92.3.tar.gz \
15+
&& cd cntlm-0.92.3 \
16+
&& ./configure \
17+
&& make \
18+
&& make install \
19+
&& rm /usr/local/src/cntlm-0.92.3.tar.gz \
20+
&& apk del curl \
21+
g++ \
22+
autoconf \
23+
make \
24+
&& rm -rf /var/lib/apt/lists/*
25+
326
ADD scripts/init_container.sh /usr/local/sbin/init_container.sh
427
ADD files/etc/cntlm.conf /etc/cntlm.conf
5-
ADD files/cntlm-0.92.3/ /usr/local/src/cntlm-0.92.3/
628
EXPOSE 3128
729
CMD init_container.sh

README

Lines changed: 0 additions & 1 deletion
This file was deleted.

files/cntlm-0.92.3/COPYRIGHT

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

files/cntlm-0.92.3/LICENSE

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

files/cntlm-0.92.3/Makefile

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

files/cntlm-0.92.3/Makefile.xlc

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

0 commit comments

Comments
 (0)