Skip to content

Commit

Permalink
Merge pull request #6 from jhowardmsft/entrypoint2cmd
Browse files Browse the repository at this point in the history
Entrypoint2cmd
  • Loading branch information
John Howard authored Nov 26, 2018
2 parents c843053 + 6f638c7 commit 518729d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# http://github.com/jhowardmsft/busybox

FROM microsoft/windowsservercore
RUN mkdir C:\tmp && mkdir C:\busybox
ADD http://frippery.org/files/busybox/busybox.exe /busybox/
RUN setx /M PATH "C:\busybox;%PATH%"
RUN powershell busybox.exe --list ^|%{$nul = cmd /c mklink C:\busybox\$_.exe busybox.exe}
ENTRYPOINT ["C:/busybox/busybox.exe"]
RUN mkdir C:\tmp && mkdir C:\bin
ADD http://frippery.org/files/busybox/busybox.exe /bin/
RUN setx /M PATH "C:\bin;%PATH%"
RUN powershell busybox.exe --list ^|%{$nul = cmd /c mklink C:\bin\$_.exe busybox.exe}
CMD ["sh"]

0 comments on commit 518729d

Please sign in to comment.