Commit 7a8cd02a authored by Mohammed Ismail's avatar Mohammed Ismail

correction to adapt the dockerfile on u18 and rhel8

Signed-off-by: default avatarMohammed Ismail <mohammed.ismail@eurecom.fr>
parent 5cbcd596
...@@ -219,18 +219,39 @@ install_nghttp2_from_git() { ...@@ -219,18 +219,39 @@ install_nghttp2_from_git() {
if [[ $prompt =~ [yY](es)* ]] if [[ $prompt =~ [yY](es)* ]]
then then
$SUDO $INSTALLER install $OPTION \ if [[ $OS_DISTRO == "ubuntu" ]]; then
gcc-c++ \ PACKAGE_LIST="\
binutils-devel \ g++ \
autoconf \ cmake \
automake \ binutils \
libtool \ autoconf \
pkg-config \ automake \
zlib-devel \ autotools-dev \
CUnit-devel \ libtool \
openssl-devel \ pkg-config \
libxml2-devel libev-devel libevent-devel jansson-devel c-ares-devel \ zlib1g-dev \
jemalloc-devel systemd-devel python3-Cython python3-devel python3-setuptools libcunit1-dev \
libssl-dev \
libxml2-dev libev-dev libevent-dev libjansson-dev libc-ares-dev \
libjemalloc-dev libsystemd-dev cython python3-dev python-setuptools"
elif [[ "$OS_BASEDISTRO" == "fedora" ]]; then
PACKAGE_LIST="\
gcc-c++ \
binutils-devel \
autoconf \
automake \
libtool \
pkg-config \
zlib-devel \
CUnit-devel \
openssl-devel \
libxml2-devel libev-devel libevent-devel jansson-devel c-ares-devel \
jemalloc-devel systemd-devel python3-Cython python3-devel python3-setuptools"
else
echo_fatal "$OS_DISTRO is not a supported distribution."
fi
echo "Install build tools"
$SUDO $INSTALLER install $OPTION $PACKAGE_LIST
ret=$?;[[ $ret -ne 0 ]] && return $ret ret=$?;[[ $ret -ne 0 ]] && return $ret
GIT_URL=https://github.com/nghttp2/nghttp2.git GIT_URL=https://github.com/nghttp2/nghttp2.git
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment