File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 pull_request :
77 branches :
88 - main
9+ path :
10+ - ' images/**'
11+ - ' .github/workflows/images.yaml'
12+ - ' .github/workflows/cleanup.yaml'
913
1014permissions :
1115 packages : write
1216 pull-requests : write
1317
18+ defaults :
19+ run :
20+ working-directory : images
21+
1422jobs :
1523 build-installer-image :
1624 runs-on : windows-2022
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ krew plugin for launching a Windows host process pod that will give you access t
33
44![ gif of using krew to install and run as kubectl plugin] ( ./kubectl-windows-debug.gif )
55
6+ To use this plugin you will need:
7+ - kubernetes 1.22+ (with the [ WindowsHostProcessContainers] ( https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/ ) feature-gate enabled)
8+ - containerd 1.6+ as the runtime
9+
610## Usage
711
812``` bash
Original file line number Diff line number Diff line change 1- ARG INSTALLER_VERSION="${latest}"
2- FROM ghcr.io/jsturtevant/debug-installer-cache:${INSTALLER_VERSION} as installer
3-
4- FROM ghcr.io/marosset/host-process-scratch-image:latest AS runtime
5- WORKDIR /apps
6- ENV PATH="%CONTAINER_SANDBOX_MOUNT_POINT%\a pps\v im;%CONTAINER_SANDBOX_MOUNT_POINT%\a pps\s ysinternals;C:\W indows\s ystem32;C:\W indows"
7-
8- COPY --from=installer /ProgramData/scoop/apps/vim/9.0 ./vim/
1+ ARG INSTALLER_VERSION="${latest}"
2+ FROM ghcr.io/jsturtevant/debug-installer-cache:${INSTALLER_VERSION} as installer
3+
4+ FROM ghcr.io/marosset/host-process-scratch-image:latest AS runtime
5+ WORKDIR /apps
6+ ENV PATH="%CONTAINER_SANDBOX_MOUNT_POINT%\a pps\v im;%CONTAINER_SANDBOX_MOUNT_POINT%\a pps\s ysinternals;C:\W indows\s ystem32;C:\W indows"
7+
8+ COPY --from=installer /ProgramData/scoop/apps/vim/9.0 ./vim/
File renamed without changes.
Original file line number Diff line number Diff line change 11param ($version = ' latest' , $image = ' ghcr.io/jsturtevant/debug-installer-cache' )
22
3- docker build - t " ${image} :${version} " -f Dockerfile.installer .
3+ docker build - t " ${image} :${version} " -f Dockerfile.installer- cache .
File renamed without changes.
You can’t perform that action at this time.
0 commit comments