-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (9 loc) · 775 Bytes
/
Dockerfile
File metadata and controls
23 lines (9 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 liblttng-ust1 libstdc++6 libunwind8 zlib1g build-essential libgdiplus golang python3 nodejs dotnet-sdk-8.0 && apt-get clean
COPY ./ ./usr/local/share/powershell/Modules/PipeScript
SHELL ["pwsh", "-noprofile", "-nologo", "-command"]
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 ./Http.Server.Start.ps1
RUN Add-Content -Path \$Profile -Value ./Http.Server.Start.ps1
ENTRYPOINT ["pwsh","-nologo"]