forked from Kong/kong-build-tools-base-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.deb
45 lines (42 loc) · 1.14 KB
/
Dockerfile.deb
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
FROM ubuntu:24.04
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
automake \
autotools-dev \
build-essential \
ca-certificates \
cmake \
curl \
file \
gettext-base \
git \
libgd-dev \
libgeoip-dev \
libncurses5-dev \
libperl-dev \
libreadline-dev \
libssl-dev \
libtool \
libxslt1-dev \
m4 \
make \
perl \
ssh \
unzip \
valgrind \
zlib1g-dev
RUN curl -fsSLo /tmp/yaml-0.2.5.tar.gz https://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz \
&& cd /tmp \
&& tar xzf yaml-0.2.5.tar.gz \
&& ln -s /tmp/yaml-0.2.5 /tmp/yaml \
&& cd /tmp/yaml \
&& ./configure \
--libdir=/tmp/build/usr/local/kong/lib \
--includedir=/tmp/yaml-0.2.5 \
&& make install \
&& ./configure --libdir=/usr/local/kong/lib \
&& make install \
&& rm -rf /tmp/yaml-0.2.5
RUN bash --version && \
cmake --version