-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (28 loc) · 883 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM debian:jessie-backports
# Install "apt-transport-https"
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y -o DPkg::Options::=--force-confold install \
apt-transport-https \
curl \
apt-utils
# Creating Varnish Debian Repo
RUN curl https://repo.varnish-cache.org/GPG-key.txt | apt-key add - ; echo "deb https://repo.varnish-cache.org/debian/ jessie varnish-4.1" >> /etc/apt/sources.list.d/varnish-cache.list
# Install Varnish Requirements
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y -o DPkg::Options::=--force-confold install \
git \
build-essential \
varnish \
python-docutils \
libpcre3-dev \
pkg-config \
automake \
libtool \
autoconf \
libncurses5-dev \
libncurses5 \
libvarnishapi-dev \
libedit-dev \
&& rm -rf /var/lib/apt/lists/*
# Copy configuration
COPY ./config /
# Run compile script
CMD ["./compile.sh"]