Skip to content

Commit

Permalink
Merge pull request #44299 from crazy-max/busybox-w32-img
Browse files Browse the repository at this point in the history
integration: download busybox-w32 from GitHub Release
  • Loading branch information
tianon committed Oct 24, 2022
2 parents caeb591 + 4f1d142 commit ba31a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/busybox/Dockerfile
Expand Up @@ -19,7 +19,7 @@ FROM ${WINDOWS_BASE_IMAGE}:${WINDOWS_BASE_IMAGE_TAG}
RUN mkdir C:\tmp && mkdir C:\bin
ARG BUSYBOX_VERSION
ARG BUSYBOX_SHA256SUM
ADD https://frippery.org/files/busybox/busybox-w32-${BUSYBOX_VERSION}.exe /bin/busybox.exe
ADD https://github.com/moby/busybox/releases/download/${BUSYBOX_VERSION}/busybox-w32-${BUSYBOX_VERSION}.exe /bin/busybox.exe
RUN powershell \
if ((Get-FileHash -Path /bin/busybox.exe -Algorithm SHA256).Hash -ne $Env:BUSYBOX_SHA256SUM) { \
Throw \"Checksum validation failed\" \
Expand Down

0 comments on commit ba31a96

Please sign in to comment.