2016-10-20 10:36:26 -04:00
2016-10-20 10:08:13 -04:00
2016-10-20 10:08:13 -04:00
2016-10-20 10:08:13 -04:00
2016-10-20 10:08:13 -04:00
2016-10-20 10:36:26 -04:00
2016-10-18 19:00:50 -04:00

This is an example of a webforms project being compiled into a docker container. The gulp file is used for build orchestration. This is for windows 10 or server 2016

Gettting started

Install docker with this script on windows 10, or setup docker on server 2016

Install nodejs

run:

npm install -g gulp
npm install

tasks

clean: clean up artifacts

retrieve: alias for retrieve docker image and nuget

build: build everything

restore:nuget restores nugets

build:patchAssemblyInfo patch assemblyinfo cs files

build:csharp compile csharp

build:dockerImage build the docker image

arguments: --version version to set for assemblyinfo docker image

usage:

gulp build --version 1.0.1

output:

docker images

REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE
tparnell/mywebforms           1.0.1               de4de30a1b13        34 minutes ago      9.246 GB

Description
an example of an old aspnet webforms project being built into a docker container
Readme 473 KiB
Languages
JavaScript 91.5%
C# 3.7%
HTML 2.7%
ASP.NET 1.8%
CSS 0.3%