-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
57 lines (52 loc) · 1.2 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
52
53
54
55
56
57
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 \
libcurl4-gnutls-dev \
libedit-dev \
libjemalloc-dev \
liblua5.1-0-dev \
libluajit-5.1-dev \
libncurses-dev \
libpcre2-dev \
libtool \
lua5.1 \
luajit \
make \
nano \
netcat-traditional \
pkg-config \
python3 \
python3-docutils \
python3-sphinx \
python3-venv \
tar \
telnet \
unzip \
vim-common \
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"]