-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
11 lines (10 loc) · 566 Bytes
/
Dockerfile
File metadata and controls
11 lines (10 loc) · 566 Bytes
1
2
3
4
5
6
7
8
9
10
11
# Thank you Microsoft! Thank you PowerShell! Thank you Docker!
FROM mcr.microsoft.com/powershell AS powershell
# Set the module name to the name of the module we are building
ENV ModuleName=WhereFor
ENV InstallAptGet="git","curl","ca-certificates","libc6","libgcc1"
ENV InstallModule="ugit"
# Copy the module into the container
RUN --mount=type=bind,src=./,target=/Initialize /bin/pwsh -nologo -command /Initialize/Container.init.ps1
# Set the entrypoint to the script we just created.
ENTRYPOINT [ "/bin/pwsh","-nologo","-noexit","-file","/Container.start.ps1" ]