-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
James Brundage
committed
Oct 26, 2024
1 parent
d9b7d92
commit bfa45fb
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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=HtmxPS | ||
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" ] |