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
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic | |
WORKDIR /home/ | |
COPY . . | |
RUN bash ./setup.sh |
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
## Update and install some things we should probably have | |
apt-get update | |
apt-get install -y \ | |
curl \ | |
git \ | |
gnupg2 \ | |
jq \ | |
sudo \ | |
zsh | |
## Instsall nvm | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
## Install PowerShell Core | |
curl -sSL https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh | bash | |
## Setup and install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
cp -R /root/.oh-my-zsh /home/$USERNAME | |
cp /root/.zshrc /home/$USERNAME | |
sed -i -e "s/\/root\/.oh-my-zsh/\/home\/$USERNAME\/.oh-my-zsh/g" /home/$USERNAME/.zshrc | |
chown -R $USER_UID:$USER_GID /home/$USERNAME/.oh-my-zsh /home/$USERNAME/.zshrc |
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
{ | |
... | |
"extensions": [ | |
"coenraads.bracket-pair-colorizer-2", | |
"docsmsft.docs-authoring-pack", | |
"donjayamanne.githistory", | |
"eamodio.gitlens", | |
"editorconfig.editorconfig", | |
"github.vscode-pull-request-github", | |
"jongrant.csharpsortusings", | |
"k--kato.docomment", | |
"kreativ-software.csharpextensions", | |
"mhutchie.git-graph", | |
"ms-dotnettools.csharp", | |
"ms-vscode.powershell", | |
"ms-vscode.vscode-node-azure-pack", | |
"ms-vsliveshare.vsliveshare", | |
"vscode-icons-team.vscode-icons", | |
"visualstudioexptteam.vscodeintellicode", | |
"yzhang.markdown-all-in-one" | |
], | |
... | |
} |
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
dotnet new console -n Sample.ConsoleApp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment