This file contains hidden or 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
| FROM microsoft/dotnet:latest | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| VOLUME [".config/Code", \ | |
| ".vscode", \ | |
| ".ssh", \ | |
| "src"] | |
| RUN useradd --user-group --home $HOME code && \ |
This file contains hidden or 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
| Add-Type -AssemblyName "System.Security" | |
| function ConvertTo-EncryptedString{ | |
| [cmdletbinding()] | |
| [OutputType([string])] | |
| param( | |
| [parameter(Mandatory=$true, ValueFromPipeline=$true)] | |
| [ValidateNotNull()] | |
| [string]$stringToEncrypt) | |
| Process{ |