$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
Since I wrote this originally, Docker on Windows has become a first-class supported tool, with a Windows Installer and well-documented installation processes from docker and from Microsoft.
Today, I actually install docker using boxstarter scripts where I can Enable-WindowsOptionalFeature -Online -FeatureName containers -All
and then choco upgrade -y docker-desktop
as well as installing tooling for VS Code code --install-extension "ms-azuretools.vscode-docker"
.
I've left the rest of these notes here as a historical record, more than anything else. You should not expect the script below to work, but you certainly don
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace AutoSitecoreCustomizations | |
{ | |
public class AutoNSubstituteDataAttribute : AutoDataAttribute | |
{ | |
public AutoNSubstituteDataAttribute() | |
: base(() => new Fixture() | |
.Customize(new AutoNSubstituteCustomization()) | |
.Customize(new DatabaseCustomization()) | |
.Customize(new ItemCustomization()) | |
.Customize(new FieldCustomization())) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<pipelines> | |
<initialize> | |
<processor type="Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel"> | |
<patch:delete /> | |
</processor> | |
<processor type="Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel"> | |
<patch:delete /> | |
</processor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Linq; | |
using System.Resources; | |
using System.Text.RegularExpressions; | |
using System.Threading; | |
using Microsoft.Build.Framework; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to set up Unicorn in your Docker container | |
Since all writing to Unicorn files happens inside the container, and the container is now linked to .\unicorn, | |
all you need to do is ensure that .\unicorn is included under source control. | |
This gets even better if you use Transparent Sync. |