-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (23 loc) · 948 Bytes
/
Dockerfile
File metadata and controls
25 lines (23 loc) · 948 Bytes
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
FROM centos:7
RUN yum install -y wget \
&& wget "https://github.com/bazelbuild/bazel/releases/download/0.17.2/bazel-0.17.2-installer-linux-x86_64.sh" \
&& chmod a+x bazel-0.17.2-installer-linux-x86_64.sh \
&& yum install -y unzip zip \
&& yum -y install sudo vim java \
&& ./bazel-0.17.2-installer-linux-x86_64.sh \
&& yum install -y gcc gcc-c++ git
RUN yum -y install gcc automake autoconf libtool make
RUN mkdir /WeChat /WeChat/logs
COPY ./src/ /WeChat/src/
COPY ./config/ /WeChat/config/
COPY ./third_party/ /WeChat/third_party/
COPY ./util/ /WeChat/util/
COPY ./others_work/ /WeChat/others_work/
COPY ./README.md/ /WeChat
COPY ./WORKSPACE/ /WeChat
COPY ./tools/ /WeChat/tools/
RUN yum install xmlto -y
RUN yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc -y \
&& yum install gcc perl-ExtUtils-MakeMaker -y \
&& yum remove git -y \
&& cd /WeChat/tools/ && sh update_git.sh