mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
8164f298f9
taken from the 1.1 tag at https://github.com/jhowardmsft/busybox/tree/v1.1 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
18 lines
No EOL
701 B
Docker
18 lines
No EOL
701 B
Docker
# Source: http://frippery.org/busybox/
|
|
# This Dockerfile builds a (32-bit) busybox images which is suitable for
|
|
# running many of the integration-cli tests for Docker against a Windows
|
|
# daemon. It will not run on nanoserver as that is 64-bit only.
|
|
#
|
|
# John Howard (IRC jhowardmsft, Email john.howard@microsoft.com)
|
|
#
|
|
# To build: docker build -t busybox .
|
|
# To publish: Needs someone with publishing rights
|
|
#
|
|
# http://github.com/jhowardmsft/busybox
|
|
|
|
FROM microsoft/windowsservercore
|
|
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"] |