Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
0fc7de6b
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
0fc7de6b
编写于
7月 06, 2017
作者:
J
Jiangtao Hu
提交者:
Dong Li
7月 06, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Workaround for chfn pam system error intermittently in docker.
Fix #56
上级
92ff4b6b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
4 deletion
+10
-4
docker/dev.dockerfile
docker/dev.dockerfile
+5
-2
docker/run_env.dockerfile
docker/run_env.dockerfile
+5
-2
未找到文件。
docker/dev.dockerfile
浏览文件 @
0fc7de6b
...
...
@@ -35,7 +35,7 @@ RUN apt-get update && apt-get install -y bazel oracle-java8-installer
RUN
apt-get clean autoclean
&&
apt-get autoremove
-y
RUN
rm
-fr
/var/lib/apt/lists/
*
#install protobuf 3.1.0
#
install protobuf 3.1.0
WORKDIR
/root
RUN
wget https://github.com/google/protobuf/releases/download/v3.1.0/protobuf-cpp-3.1.0.tar.gz
RUN
tar
xzf protobuf-cpp-3.1.0.tar.gz
...
...
@@ -49,7 +49,7 @@ RUN wget https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.
RUN
unzip protoc-3.1.0-linux-x86_64.zip
-d
protoc3
RUN
mv
protoc3/bin/protoc /usr/bin/
#set up node v8.0.0
#
set up node v8.0.0
RUN
wget https://github.com/tj/n/archive/v2.1.0.tar.gz
RUN
tar
xzf v2.1.0.tar.gz
WORKDIR
/root/n-2.1.0
...
...
@@ -88,3 +88,6 @@ RUN apt-get update && apt-get install -y \
RUN
add-apt-repository
"deb http://archive.ubuntu.com/ubuntu trusty-backports universe"
RUN
apt-get update
&&
apt-get
install
shellcheck
# https://stackoverflow.com/questions/25193161/chfn-pam-system-error-intermittently-in-docker-hub-builds
RUN
ln
-s
-f
/bin/true /usr/bin/chfn
docker/run_env.dockerfile
浏览文件 @
0fc7de6b
...
...
@@ -26,7 +26,7 @@ RUN apt-get update && apt-get install -y \
RUN
apt-get clean autoclean
&&
apt-get autoremove
-y
RUN
rm
-fr
/var/lib/apt/lists/
*
#install protobuf 3.1.0
#
install protobuf 3.1.0
WORKDIR
/root
RUN
wget https://github.com/google/protobuf/releases/download/v3.1.0/protobuf-cpp-3.1.0.tar.gz
RUN
tar
xzf protobuf-cpp-3.1.0.tar.gz
...
...
@@ -43,7 +43,7 @@ RUN wget https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.
RUN
unzip protoc-3.1.0-linux-x86_64.zip
-d
protoc3
RUN
mv
protoc3/bin/protoc /usr/bin/
#set up node v8.0.0
#
set up node v8.0.0
RUN
wget https://github.com/tj/n/archive/v2.1.0.tar.gz
RUN
tar
xzf v2.1.0.tar.gz
WORKDIR
/root/n-2.1.0
...
...
@@ -58,3 +58,6 @@ RUN pip install -r /tmp/py27_requirements.txt
# Remove all temporary files.
RUN
rm
-fr
/tmp/
*
# https://stackoverflow.com/questions/25193161/chfn-pam-system-error-intermittently-in-docker-hub-builds
RUN
ln
-s
-f
/bin/true /usr/bin/chfn
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录