docker exec $containerInstanceName sh build.sh $sourcePath $csprojName $targetImageName:TAG
start the container
docker rm -f ncb
docker run -d --name ncb --restart=always \
-v /usr/bin/docker:/usr/bin/docker \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /netcore/packages:/root/.nuget/packages \
-v /netcore/source:/app/src \
-v /netcore/publish:/app/publish \
socloudng/netcorebuilder
clone the soursecode to the folder /netcore/source
cd /netcore/publish
git clone https://github.com/abpframework/abp-samples.git
build the project <AuthServer.Host> of MicroserviceDemo
docker exec ncb sh build.sh \
abp-samples/MicroserviceDemo/applications/AuthServer.Host \
AuthServer.Host socloudng/auth-server:latest
Content type
Image
Digest
sha256:f01db7473…
Size
255.1 MB
Last updated
over 3 years ago
docker pull socloudng/netcorebuilder