Skip to content

Commit

Permalink
Merge branch 'PipeScripting-Web' of https://github.com/StartAutomatin…
Browse files Browse the repository at this point in the history
…g/PipeScript into PipeScripting-Web
  • Loading branch information
James Brundage committed May 7, 2024
2 parents 4941d2c + 3847ce8 commit 0a816a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ FROM mcr.microsoft.com/powershell
ENV PIPESCRIPT_VERSION 0.2.8


RUN apt-get update && apt-get install -y git curl ca-certificates libc6 libgcc1
RUN apt-get update && apt-get install -y git curl ca-certificates libc6 libgcc1 build-essential python3 nodejs && apt-get clean

ENV PSModulePath ./Modules

COPY ./ ./usr/local/share/powershell/Modules/PipeScript

RUN opt/microsoft/powershell/7/pwsh --noprofile --nologo -c Install-Module 'Splatter','PSSVG','ugit','Irregular' -Scope CurrentUser -Force
SHELL ["pwsh", "-noprofile", "-nologo", "-command"]


COPY ./ ./Modules/PipeScript
RUN @(Install-Module 'Splatter','PSSVG','ugit','Irregular' -AcceptLicense -Scope CurrentUser -Force && New-Item -ItemType File -Path \$Profile -Force | Add-Content -Value 'Import-Module Splatter','PSSVG','ugit','Irregular','PipeScript')


COPY ././Http.Server.Start.ps1 /root/.config/powershell/Microsoft.PowerShell_profile.ps1
COPY ./Http.Server.Start.ps1 ./Http.Server.Start.ps1
RUN Add-Content -Path \$Profile -Value ./Http.Server.Start.ps1


3 changes: 3 additions & 0 deletions Languages/Docker/Templates/Docker-Template-LabelModule.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[ValidatePattern("docker")]
param()


function Template.Docker.LabelModule {

Expand Down

0 comments on commit 0a816a0

Please sign in to comment.