跟新build_docker.sh的使用
This commit is contained in:
parent
2875f37087
commit
17a5020391
@ -5,7 +5,7 @@
|
||||
下面的dockerFiles和 settings.xml放置到博客bolo-solo的下面,执行下面命令编译并导出镜像:
|
||||
|
||||
```sh
|
||||
docker build -t "zeek/bolo" .
|
||||
bash build_docker.sh
|
||||
|
||||
docker save -o /tmp/zeek_bolo.tar zeek/bolo
|
||||
```
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# 优化docker编译,只需要添加需要的文件
|
||||
#
|
||||
|
||||
mkdir -p /tmp/bolo-solo
|
||||
|
||||
cp -rf ./Dockerfile ./gulpfile.js ./manifest.json ./package.json ./pom.xml src /tmp/bolo-solo
|
||||
|
Loading…
Reference in New Issue
Block a user