File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 1111#
1212# http://github.com/jhowardmsft/busybox64
1313
14+
15+ # ADD https://github.com/jhowardmsft/busybox64/raw/master/busybox.exe?raw=true c:\\windows\\system32
16+ # SHELL ["powershell", "-command"]
17+ # RUN cd c:\windows\system32; busybox.exe --list | %{New-Item -ItemType Hardlink -Name $_`.exe -Target busybox.exe 2>&1 | Out-Null}
18+ # SHELL ["cmd", "/S", "/C"]
19+ # ENTRYPOINT ["busybox.exe"]
20+
21+
1422FROM microsoft/nanoserver
15- ADD https://github.com/jhowardmsft/busybox64/raw/master/busybox.exe?raw=true c: \\ windows \\ system32
16- SHELL [ "powershell" , "-command" ]
17- RUN cd c: \w indows \s ystem32; busybox.exe --list | %{New-Item -ItemType Hardlink -Name $_`.exe -Target busybox.exe 2>&1 | Out-Null}
18- SHELL [ " cmd" , "/S" , "/C" ]
19- ENTRYPOINT ["busybox.exe" ]
23+ RUN mkdir C: \t mp && mkdir C: \b usybox
24+ ADD https://github.com/jhowardmsft/busybox64/raw/master/busybox.exe?raw=true /busybox/
25+ RUN setx /M PATH "C: \ b usybox;%PATH%"
26+ RUN powershell busybox.exe --list ^|%{$nul = cmd /c mklink C: \b usybox \$ _.exe busybox.exe}
27+ ENTRYPOINT ["C:/busybox/ busybox.exe" ]
You can’t perform that action at this time.
0 commit comments