dockerFiles/bolo/build_docker.sh

14 lines
295 B
Bash
Raw Permalink Normal View History

2022-04-05 15:14:48 +00:00
#!/bin/bash
2022-04-23 15:14:00 +00:00
#
# 优化docker编译只需要添加需要的文件
#
2022-04-05 15:14:48 +00:00
mkdir -p /tmp/bolo-solo
cp -rf ./Dockerfile ./gulpfile.js ./manifest.json ./package.json ./pom.xml src /tmp/bolo-solo
cp -rf ./settings.xml /tmp/bolo-solo
2022-08-28 14:17:21 +00:00
cd /tmp/bolo-solo && sudo docker build -t "zeekling/bolo-solo" .