forked from Kong/kong-build-tools-base-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.rpm
40 lines (37 loc) · 897 Bytes
/
Dockerfile.rpm
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
FROM redhat/ubi8:8.10
RUN yum update -y && \
yum -y install \
automake \
bzip2 \
ca-certificates \
cmake3 \
curl \
gcc \
gcc-c++ \
git \
libtool \
m4 \
make \
openssl-devel \
patch \
pcre-devel \
perl \
rpm-build \
tar \
unzip \
wget \
zlib-devel
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