Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status


Supported tags and respective Dockerfile links

Introduction

基于docker image编译.NET应用程序

  • .NET Core SDK
  • Nodejs
  • Npm
  • Yarn
  • bower
  • glup
  • webpack

Quickstart

一个build.sh工程构建脚本

#!/bin/sh
set -e
basepath=$(cd `dirname $0`; pwd)
dotnet restore ${basepath}
dotnet build ${basepath}
dotnet pack -c release ${basepath}

定义docker-build.sh脚本,挂载到容器上执行build.sh操作

basepath=$(cd `dirname $0`; pwd)
docker run --rm \
-v ${basepath}:/dotnet-build \
eswork/dotnet-build \
sh -c "chmod 755 /dotnet-build/build.sh && /dotnet-build/build.sh "

About

Build dotnet app based on docker image

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages