dockerFiles/bolo/build_docker.sh
2022-08-28 22:17:21 +08:00

14 lines
295 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
#
# 优化docker编译只需要添加需要的文件
#
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
cd /tmp/bolo-solo && sudo docker build -t "zeekling/bolo-solo" .