#!/bin/bash echo " Welcome to docker build" echo "" echo "" ABP_HOST="abp/host" ABP_NG="abp/ng" cd .. echo " Building docker image $ABP_HOST..."
# cd 到aspnet-core 目录,eg:cd /data/apb/
# 将 aspnet-core/build 目录下的 build-with-ng.sh 复制到 aspnet-core 目录下
# 将 aspnet-core/src/*.*.Weh.Host 目录下的 Dockerfile 复制到 aspnet-core 目录下
docker build -t $ABP_HOST /data/apb/aspnet-core
echo " Done. -- Building docker image $ABP_HOST..." echo "" echo ""
# echo " Pushing docker image $ABP_HOST..."
# docker push $ABP_HOST # echo " Done. -- Pushing docker image $ABP_HOST..."
# echo ""
# echo ""
cd ..
#cd angular/ #echo " Building docker image $ABP_NG..."
#docker build -t $ABP_NG -f Dockerfile .
#echo " Done. -- Building docker image $ABP_NG..."
#echo ""
#echo ""
# echo " Pushing docker image $ABP_NG..."
# docker push $ABP_NG
# echo " Done. -- Pushing docker image $ABP_NG..."
# echo ""
# echo ""
标签:...,Vue,image,echo,ABP,Docker,NG,docker From: https://www.cnblogs.com/valeb/p/17722364.html