Skip to content

Commit 8fce623

Browse files
GRIMMR3AP3RMarkPieszak
authored andcommitted
feat(docker): Visual Studio Docker support
1 parent 2ac9bc2 commit 8fce623

9 files changed

+64
-332
lines changed

.dockerignore

+4-327
Original file line numberDiff line numberDiff line change
@@ -4,332 +4,9 @@
44
.gitignore
55
.vs
66
.vscode
7+
docker-compose.yml
8+
docker-compose.*.yml
79
*/bin
810
*/obj
9-
**/.toolstarget
10-
11-
12-
# User-specific files
13-
*.suo
14-
*.user
15-
*.userosscache
16-
*.sln.docstates
17-
18-
# User-specific files (MonoDevelop/Xamarin Studio)
19-
*.userprefs
20-
21-
# Build results
22-
[Dd]ebug/
23-
[Dd]ebugPublic/
24-
[Rr]elease/
25-
[Rr]eleases/
26-
x64/
27-
x86/
28-
bld/
29-
[Bb]in/
30-
[Oo]bj/
31-
[Ll]og/
32-
33-
# Visual Studio 2015/2017 cache/options directory
34-
.vs/
35-
# Uncomment if you have tasks that create the project's static files in wwwroot
36-
#wwwroot/
37-
38-
# Visual Studio 2017 auto generated files
39-
Generated\ Files/
40-
41-
# MSTest test Results
42-
[Tt]est[Rr]esult*/
43-
[Bb]uild[Ll]og.*
44-
45-
# NUNIT
46-
*.VisualState.xml
47-
TestResult.xml
48-
49-
# Build Results of an ATL Project
50-
[Dd]ebugPS/
51-
[Rr]eleasePS/
52-
dlldata.c
53-
54-
# Benchmark Results
55-
BenchmarkDotNet.Artifacts/
56-
57-
# .NET Core
58-
project.lock.json
59-
project.fragment.lock.json
60-
artifacts/
61-
62-
# StyleCop
63-
StyleCopReport.xml
64-
65-
# Files built by Visual Studio
66-
*_i.c
67-
*_p.c
68-
*_i.h
69-
*.ilk
70-
*.meta
71-
*.obj
72-
*.iobj
73-
*.pch
74-
*.pdb
75-
*.ipdb
76-
*.pgc
77-
*.pgd
78-
*.rsp
79-
*.sbr
80-
*.tlb
81-
*.tli
82-
*.tlh
83-
*.tmp
84-
*.tmp_proj
85-
*.log
86-
*.vspscc
87-
*.vssscc
88-
.builds
89-
*.pidb
90-
*.svclog
91-
*.scc
92-
93-
# Chutzpah Test files
94-
_Chutzpah*
95-
96-
# Visual C++ cache files
97-
ipch/
98-
*.aps
99-
*.ncb
100-
*.opendb
101-
*.opensdf
102-
*.sdf
103-
*.cachefile
104-
*.VC.db
105-
*.VC.VC.opendb
106-
107-
# Visual Studio profiler
108-
*.psess
109-
*.vsp
110-
*.vspx
111-
*.sap
112-
113-
# Visual Studio Trace Files
114-
*.e2e
115-
116-
# TFS 2012 Local Workspace
117-
$tf/
118-
119-
# Guidance Automation Toolkit
120-
*.gpState
121-
122-
# ReSharper is a .NET coding add-in
123-
_ReSharper*/
124-
*.[Rr]e[Ss]harper
125-
*.DotSettings.user
126-
127-
# JustCode is a .NET coding add-in
128-
.JustCode
129-
130-
# TeamCity is a build add-in
131-
_TeamCity*
132-
133-
# DotCover is a Code Coverage Tool
134-
*.dotCover
135-
136-
# AxoCover is a Code Coverage Tool
137-
.axoCover/*
138-
!.axoCover/settings.json
139-
140-
# Visual Studio code coverage results
141-
*.coverage
142-
*.coveragexml
143-
144-
# NCrunch
145-
_NCrunch_*
146-
.*crunch*.local.xml
147-
nCrunchTemp_*
148-
149-
# MightyMoose
150-
*.mm.*
151-
AutoTest.Net/
152-
153-
# Web workbench (sass)
154-
.sass-cache/
155-
156-
# Installshield output folder
157-
[Ee]xpress/
158-
159-
# DocProject is a documentation generator add-in
160-
DocProject/buildhelp/
161-
DocProject/Help/*.HxT
162-
DocProject/Help/*.HxC
163-
DocProject/Help/*.hhc
164-
DocProject/Help/*.hhk
165-
DocProject/Help/*.hhp
166-
DocProject/Help/Html2
167-
DocProject/Help/html
168-
169-
# Click-Once directory
170-
publish/
171-
172-
# Publish Web Output
173-
*.[Pp]ublish.xml
174-
*.azurePubxml
175-
# Note: Comment the next line if you want to checkin your web deploy settings,
176-
# but database connection strings (with potential passwords) will be unencrypted
177-
*.pubxml
178-
*.publishproj
179-
180-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
181-
# checkin your Azure Web App publish settings, but sensitive information contained
182-
# in these scripts will be unencrypted
183-
PublishScripts/
184-
185-
# NuGet Packages
186-
*.nupkg
187-
# The packages folder can be ignored because of Package Restore
188-
**/[Pp]ackages/*
189-
# except build/, which is used as an MSBuild target.
190-
!**/[Pp]ackages/build/
191-
# Uncomment if necessary however generally it will be regenerated when needed
192-
#!**/[Pp]ackages/repositories.config
193-
# NuGet v3's project.json files produces more ignorable files
194-
*.nuget.props
195-
*.nuget.targets
196-
197-
# Microsoft Azure Build Output
198-
csx/
199-
*.build.csdef
200-
201-
# Microsoft Azure Emulator
202-
ecf/
203-
rcf/
204-
205-
# Windows Store app package directories and files
206-
AppPackages/
207-
BundleArtifacts/
208-
Package.StoreAssociation.xml
209-
_pkginfo.txt
210-
*.appx
211-
212-
# Visual Studio cache files
213-
# files ending in .cache can be ignored
214-
*.[Cc]ache
215-
# but keep track of directories ending in .cache
216-
!*.[Cc]ache/
217-
218-
# Others
219-
ClientBin/
220-
~$*
221-
*~
222-
*.dbmdl
223-
*.dbproj.schemaview
224-
*.jfm
225-
*.pfx
226-
*.publishsettings
227-
orleans.codegen.cs
228-
229-
# Including strong name files can present a security risk
230-
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
231-
#*.snk
232-
233-
# Since there are multiple workflows, uncomment next line to ignore bower_components
234-
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
235-
#bower_components/
236-
237-
# RIA/Silverlight projects
238-
Generated_Code/
239-
240-
# Backup & report files from converting an old project file
241-
# to a newer Visual Studio version. Backup files are not needed,
242-
# because we have git ;-)
243-
_UpgradeReport_Files/
244-
Backup*/
245-
UpgradeLog*.XML
246-
UpgradeLog*.htm
247-
ServiceFabricBackup/
248-
*.rptproj.bak
249-
250-
# SQL Server files
251-
*.mdf
252-
*.ldf
253-
*.ndf
254-
255-
# Business Intelligence projects
256-
*.rdl.data
257-
*.bim.layout
258-
*.bim_*.settings
259-
*.rptproj.rsuser
260-
261-
# Microsoft Fakes
262-
FakesAssemblies/
263-
264-
# GhostDoc plugin setting file
265-
*.GhostDoc.xml
266-
267-
# Node.js Tools for Visual Studio
268-
.ntvs_analysis.dat
269-
node_modules/
270-
271-
# Visual Studio 6 build log
272-
*.plg
273-
274-
# Visual Studio 6 workspace options file
275-
*.opt
276-
277-
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
278-
*.vbw
279-
280-
# Visual Studio LightSwitch build output
281-
**/*.HTMLClient/GeneratedArtifacts
282-
**/*.DesktopClient/GeneratedArtifacts
283-
**/*.DesktopClient/ModelManifest.xml
284-
**/*.Server/GeneratedArtifacts
285-
**/*.Server/ModelManifest.xml
286-
_Pvt_Extensions
287-
288-
# Paket dependency manager
289-
.paket/paket.exe
290-
paket-files/
291-
292-
# FAKE - F# Make
293-
.fake/
294-
295-
# JetBrains Rider
296-
.idea/
297-
*.sln.iml
298-
299-
# CodeRush
300-
.cr/
301-
302-
# Python Tools for Visual Studio (PTVS)
303-
__pycache__/
304-
*.pyc
305-
306-
# Cake - Uncomment if you are using it
307-
# tools/**
308-
# !tools/packages.config
309-
310-
# Tabs Studio
311-
*.tss
312-
313-
# Telerik's JustMock configuration file
314-
*.jmconfig
315-
316-
# BizTalk build output
317-
*.btp.cs
318-
*.btm.cs
319-
*.odx.cs
320-
*.xsd.cs
321-
322-
# OpenCover UI analysis results
323-
OpenCover/
324-
325-
# Azure Stream Analytics local run output
326-
ASALocalRun/
327-
328-
# MSBuild Binary and Structured Log
329-
*.binlog
330-
331-
# NVidia Nsight GPU debugger configuration file
332-
*.nvuser
333-
334-
# MFractors (Xamarin productivity tool) working folder
335-
.mfractor/
11+
node_modules
12+
docs

.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#Use this variable to set your Docker Repository to make it easier to push later.
2+
#DOCKER_REGISTRY=your repo name

Asp2017.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
55
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
66
<IsPackable>false</IsPackable>
7+
<DockerTargetOS>Linux</DockerTargetOS>
8+
<DockerComposeProjectPath>docker-compose.dcproj</DockerComposeProjectPath>
79
</PropertyGroup>
810
<ItemGroup>
911
<!-- New Meta Package has SpaServices in It -->
1012
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.0" />
13+
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="0.1.1646902" />
1114
<PackageReference Include="NETStandard.Library" Version="2.0.3" />
1215
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.0" />
1316
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.1.0" />

Asp2017.sln

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.27703.2018
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Asp2017", "Asp2017.csproj", "{BC28E9F7-E6EC-447D-AABD-17683BEAD625}"
77
EndProject
8+
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{10B71BFC-C3ED-40B0-BB25-E38F04135E17}"
9+
EndProject
810
Global
911
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1012
Debug|Any CPU = Debug|Any CPU
@@ -15,6 +17,10 @@ Global
1517
{BC28E9F7-E6EC-447D-AABD-17683BEAD625}.Debug|Any CPU.Build.0 = Debug|Any CPU
1618
{BC28E9F7-E6EC-447D-AABD-17683BEAD625}.Release|Any CPU.ActiveCfg = Release|Any CPU
1719
{BC28E9F7-E6EC-447D-AABD-17683BEAD625}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{10B71BFC-C3ED-40B0-BB25-E38F04135E17}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{10B71BFC-C3ED-40B0-BB25-E38F04135E17}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{10B71BFC-C3ED-40B0-BB25-E38F04135E17}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{10B71BFC-C3ED-40B0-BB25-E38F04135E17}.Release|Any CPU.Build.0 = Release|Any CPU
1824
EndGlobalSection
1925
GlobalSection(SolutionProperties) = preSolution
2026
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)