Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
iSulad
提交
9331c67c
I
iSulad
项目概览
openeuler
/
iSulad
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
iSulad
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9331c67c
编写于
6月 08, 2020
作者:
O
openeuler-ci-bot
提交者:
Gitee
6月 08, 2020
浏览文件
操作
浏览文件
下载
差异文件
!427 Dockerfile: adapt with upstream software update
Merge pull request !427 from lifeng_isula/master
上级
5b467d36
018939a8
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
26 addition
and
9 deletion
+26
-9
Dockerfile
Dockerfile
+26
-9
未找到文件。
Dockerfile
浏览文件 @
9331c67c
...
@@ -24,15 +24,17 @@
...
@@ -24,15 +24,17 @@
FROM
centos:7.6.1810
FROM
centos:7.6.1810
MAINTAINER
LiFeng <lifeng68@huawei.com>
MAINTAINER
LiFeng <lifeng68@huawei.com>
RUN
echo
"nameserver 8.8.8.8"
>
/etc/resolv.conf
&&
\
echo
"nameserver 8.8.4.4"
>>
/etc/resolv.conf
&&
\
echo
"search localdomain"
>>
/etc/resolv.conf
# Install dependency package
# Install dependency package
RUN
yum clean all
&&
yum swap
-y
fakesystemd systemd
&&
\
RUN
yum clean all
&&
yum makecache
&&
yum
install
-y
epel-release
&&
yum swap
-y
fakesystemd systemd
&&
\
yum
install
-y
epel-release
\
yum update
-y
&&
\
yum update
-y
&&
\
yum
install
-y
automake
\
yum
install
-y
automake
\
autoconf
\
autoconf
\
libtool
\
libtool
\
make
\
make
\
cmake
\
which
\
which
\
gdb
\
gdb
\
strace
\
strace
\
...
@@ -68,6 +70,10 @@ RUN yum clean all && yum swap -y fakesystemd systemd && \
...
@@ -68,6 +70,10 @@ RUN yum clean all && yum swap -y fakesystemd systemd && \
python
\
python
\
python-pip
\
python-pip
\
device-mapper-devel
\
device-mapper-devel
\
libarchive
\
libarchive-devel
\
libtar
\
libtar-devel
\
libcurl-devel
\
libcurl-devel
\
zlib-devel
\
zlib-devel
\
glibc-headers
\
glibc-headers
\
...
@@ -87,8 +93,6 @@ RUN yum clean all && yum swap -y fakesystemd systemd && \
...
@@ -87,8 +93,6 @@ RUN yum clean all && yum swap -y fakesystemd systemd && \
valgrind
\
valgrind
\
e2fsprogs
e2fsprogs
RUN
pip
install
xlrd
RUN
yum clean all
&&
\
RUN
yum clean all
&&
\
(
cd
/lib/systemd/system/sysinit.target.wants/
;
for
i
in
*
;
\
(
cd
/lib/systemd/system/sysinit.target.wants/
;
for
i
in
*
;
\
do
[
$i
==
systemd-tmpfiles-setup.service
]
||
rm
-f
$i
;
done
)
;
\
do
[
$i
==
systemd-tmpfiles-setup.service
]
||
rm
-f
$i
;
done
)
;
\
...
@@ -109,6 +113,17 @@ RUN echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" >> /
...
@@ -109,6 +113,17 @@ RUN echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" >> /
# disalbe sslverify
# disalbe sslverify
RUN
git config
--global
http.sslverify
false
RUN
git config
--global
http.sslverify
false
# install cmake
RUN
set
-x
&&
\
cd
~
&&
\
git clone https://gitee.com/src-openeuler/cmake.git
&&
\
cd
cmake
&&
\
git checkout origin/openEuler-20.03-LTS
&&
\
tar
-xzvf
cmake-3.12.1.tar.gz
&&
\
cd
cmake-3.12.1
&&
\
./bootstrap
&&
make
&&
make
install
&&
\
ldconfig
# Centos has no protobuf, protobuf-devel, grpc, grpc-devel, grpc-plugin
# Centos has no protobuf, protobuf-devel, grpc, grpc-devel, grpc-plugin
# and we should install them manually.
# and we should install them manually.
# install protobuf
# install protobuf
...
@@ -170,10 +185,12 @@ RUN export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH && \
...
@@ -170,10 +185,12 @@ RUN export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH && \
cd
~
&&
\
cd
~
&&
\
git clone https://gitee.com/src-openeuler/libevhtp.git
&&
\
git clone https://gitee.com/src-openeuler/libevhtp.git
&&
\
cd
libevhtp
&&
\
cd
libevhtp
&&
\
tar
-xzvf
libevhtp-1.2.16.tar.gz
&&
\
tar
-xzvf
libevhtp-1.2.18.tar.gz
&&
\
cd
libevhtp-1.2.16
&&
\
cd
libevhtp-1.2.18
&&
\
patch
-p1
-F1
-s
< ../0001-support-dynamic-threads.patch
&&
\
patch
-p1
-F1
-s
< ../0001-decrease-numbers-of-fd-for-shared-pipe-mode.patch
&&
\
patch
-p1
-F1
-s
< ../0002-close-openssl.patch
&&
\
patch
-p1
-F1
-s
< ../0002-evhtp-enable-dynamic-thread-pool.patch
&&
\
patch
-p1
-F1
-s
< ../0003-close-open-ssl.-we-do-NOT-use-it-in-lcrd.patch
&&
\
patch
-p1
-F1
-s
< ../0004-Use-shared-library-instead-static-one.patch
&&
\
rm
-rf
build
&&
\
rm
-rf
build
&&
\
mkdir
build
&&
\
mkdir
build
&&
\
cd
build
&&
\
cd
build
&&
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录