-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
51 lines (46 loc) · 1.07 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM ubuntu:noble-20240423
ENV DEBIAN_FRONTEND noninteractive
RUN groupadd -g 5000 dev \
&& useradd -u 5000 -g 5000 -m -s /bin/bash dev
RUN apt update \
&& apt install -y \
apt-transport-https \
automake \
autotools-dev \
bindfs \
binutils \
curl \
dpkg-dev \
git \
gpg \
graphviz \
jq \
less \
libedit-dev \
libjemalloc-dev \
libncurses-dev \
libpcre2-dev \
libtool \
make \
nano \
netcat-traditional \
pkg-config \
python3 \
python3-docutils \
python3-sphinx \
python3-venv \
tar \
telnet \
unzip \
wget \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/varnishcache/varnish-cache.git /tmp/varnish \
&& cd /tmp/varnish \
&& ./autogen.sh \
&& ./configure \
&& make \
&& make PREFIX='/usr/local' install \
&& ldconfig
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]