Skip to content

Commit 2cfa8d8

Browse files
authored
Fix dockerfile (#158)
1 parent 53ab26f commit 2cfa8d8

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

.devcontainer/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ RUN dotnet tool install --global GitVersion.Tool --version $GITVERSION_VERSION
9292
# Add alias for gitversion, ensuring a newline before the alias
9393
RUN printf "\nalias gitversion=\"dotnet-gitversion\"\n" >> /home/$USERNAME/.bashrc && \
9494
mkdir -p /home/$USERNAME/.config/powershell && \
95-
echo 'New-Alias -Name gitversion -Value dotnet-gitversion' >> /home/$USERNAME/.config/powershell/Microsoft.PowerShell_profile.ps1
95+
echo 'New-Alias -Name gitversion -Value dotnet-gitversion' >> /home/$USERNAME/.config/powershell/Microsoft.PowerShell_profile.ps1 && \
96+
echo ". /home/$USERNAME/.config/powershell/Microsoft.PowerShell_profile.ps1" >> /home/$USERNAME/.config/powershell/Microsoft.VSCode_profile.ps1

.vscode/settings.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,20 @@
3939
"notin",
4040
"notlike",
4141
"pscmdlet",
42-
"steppable"
42+
"steppable",
43+
"libmi",
44+
"devcontainer",
45+
"johanringman",
46+
"DontShow",
47+
"metatask",
48+
"dogfood",
49+
"dogfooding",
50+
"subfolders",
51+
"ulinux"
4352
],
4453
"cSpell.ignorePaths": [
45-
".git"
54+
".git",
55+
".vscode/settings.json"
4656
],
4757
"cSpell.ignoreRegExpList": [
4858
"/HKCU:/g",

CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Added a devcontainer for development.
1111

12+
### Fixed
13+
14+
- Fix Dockerfile to include GitVersion alias for PowerShell Extension profile script.
15+
- Fix `.vscode/settings.json` file to exclude unrecognized words.
16+
1217
## [0.12.5] - 2024-08-14
1318

1419
- `Get-ClassResourceProperty`
@@ -340,7 +345,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
340345

341346
- Updated tasks to use the Sampler functions `Get-SamplerProjectName` and `Get-SamplerSourcePath`.
342347
- Made Sampler a required Modules.
343-
- Updated the `build.yaml` & `RequiredModules.psd1` to use `Sampler.GitHubTasks` for automation.
348+
- Updated the `build.yaml` & `RequiredModules.psd1` to use `Sampler.GitHubTasks`
349+
for automation.
344350

345351
## [0.8.0] - 2021-02-08
346352

@@ -544,6 +550,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
544550
To make the task available for `Invoke-Build` in a repository that is based
545551
on [Sampler](https://github.com/gaelcolas/Sampler) add this module to
546552
required modules, and then in the `build.yaml` add the following.
553+
547554
```yaml
548555
ModuleBuildTasks:
549556
DscResource.DocGenerator:
@@ -567,6 +574,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
567574
`build.ps1`. To make the task available for `Invoke-Build` in a repository
568575
that is based on [Sampler](https://github.com/gaelcolas/Sampler) add this
569576
module to required modules, and then in the `build.yaml` add the following.
577+
570578
```yaml
571579
ModuleBuildTasks:
572580
DscResource.DocGenerator:

0 commit comments

Comments
 (0)