forked from sjp00556/cubefs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: zhuzhengyi1 <[email protected]>
- Loading branch information
zhuzhengyi1
committed
Jun 18, 2019
1 parent
75e0ace
commit 7b240f2
Showing
7 changed files
with
66 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM golang:1.12 | ||
|
||
# intall rocksdb | ||
RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list && \ | ||
apt-get update && \ | ||
apt-get -y install libz-dev libbz2-dev libsnappy-dev && \ | ||
apt-get -y -t stretch-backports install librocksdb-dev | ||
|
||
ENV LTP_VERSION=20180926 | ||
ENV LTP_SOURCE=https://github.com/linux-test-project/ltp/archive/${LTP_VERSION}.tar.gz | ||
|
||
# install ltptest | ||
RUN apt-get install -y xz-utils make gcc flex bison automake autoconf | ||
RUN mkdir -p /tmp/ltp /opt/ltp && cd /tmp/ltp \ | ||
&& wget ${LTP_SOURCE} && tar xf ${LTP_VERSION}.tar.gz && cd ltp-${LTP_VERSION} \ | ||
&& make autotools && ./configure \ | ||
&& make -j "$(getconf _NPROCESSORS_ONLN)" all && make install \ | ||
&& rm -rf /tmp/ltp | ||
|
||
RUN apt-get install -y jq fuse \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& apt-get clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
RootPath=$(cd $(dirname $0) ; pwd) | ||
CfsBase="chubaofs/cfs-base:1.0" | ||
|
||
docker build -t ${CfsBase} -f ${RootPath}/Dockerfile ${RootPath} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters