@@ -14,50 +14,60 @@ def _busybox_impl(module_ctx):
1414 # To update amd64 busybox binary (#1014)
1515 # Get the latest commit hash from dist-amd64 branch of docker-library repo. You can also view it
1616 # at https://github.com/docker-library/official-images/blob/master/library/busybox
17- # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/busybox.tar.xz
17+ # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/busybox.tar.gz
1818 # Update the sha256 value. Since github api doesn't give sha256 value, it can be obtained using sha256sum command.
1919 http_archive (
2020 name = "busybox_amd64" ,
21- sha256 = "77b216d55c6895ddb04a90f3025b5ce2480140da779fe3dca91303b135a1fefe " ,
22- urls = ["https://github. com/docker-library/busybox/raw/09ee80aedec1d8c604f104e8bec41ed19274620a/ latest/musl/busybox .tar.xz " ],
21+ sha256 = "8e7bef4a92afca21c56c9f85e4e63885b320f1da8f8f82a1cf87af359faf57d3 " ,
22+ urls = ["https://raw.githubusercontent. com/docker-library/busybox/e5b5178110ca0332364a77d5eb4fff87b0e2ba3f/ latest/musl/amd64/rootfs .tar.gz " ],
2323 build_file_content = BUSYBOX_ARCHIVE_BUILD ,
2424 )
2525
26- http_file (
26+ # To update arm busybox binary
27+ # Get the latest commit hash from dist-arm32v7 branch of docker-library repo. You can also view it
28+ # at https://github.com/docker-library/official-images/blob/master/library/busybox
29+ # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/arm32v7/rootfs.tar.gz
30+ # Update the sha256 value. Since github api doesn't give sha256 value, it can be obtained using sha256sum command.
31+ http_archive (
2732 name = "busybox_arm" ,
28- executable = True ,
29- sha256 = "cd04052b8b6885f75f50b2a280bfcbf849d8710c8e61d369c533acf307eda064" ,
30- urls = [ "https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/busybox-armv7l" ] ,
33+ sha256 = "3c873527f998bba56151b7c7d19c133390a44ef894242e7ad5536de1ac0c347e" ,
34+ urls = [ "https://raw.githubusercontent.com/docker-library/busybox/a4fac83861d137e9dcfce70b31d0b8fafea9346e/latest/musl/arm32v7/rootfs.tar.gz" ] ,
35+ build_file_content = BUSYBOX_ARCHIVE_BUILD ,
3136 )
3237
3338 # To update arm64 busybox binary (#657)
3439 # Get the latest commit hash from dist-arm64v8 branch of docker-library repo. You can also view it
3540 # at https://github.com/docker-library/official-images/blob/master/library/busybox
36- # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/busybox.tar.xz
41+ # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/busybox.tar.gz
3742 # Update the sha256 value. Since github api doesn't give sha256 value, it can be obtained using sha256sum command.
3843 http_archive (
3944 name = "busybox_arm64" ,
40- sha256 = "1d0610f348ae3f95897a967fae429b0a0c712b252ca63e1547a89bf13a1a82c7 " ,
41- urls = ["https://github. com/docker-library/busybox/raw/e5e22cb0710fe54da4beaa6a72c1bd56b8fc9c54/ latest/musl/busybox .tar.xz " ],
45+ sha256 = "07b73337cea2a5d87c21278f251e1e742e253232ebd035d6a4a6d2cb4612e462 " ,
46+ urls = ["https://raw.githubusercontent. com/docker-library/busybox/f30de561de9bf38da10058620e9c4c383ec8a905/ latest/musl/arm64v8/rootfs .tar.gz " ],
4247 build_file_content = BUSYBOX_ARCHIVE_BUILD ,
4348 )
4449
45- http_file (
50+ # To update s390x busybox binary
51+ # Get the latest commit hash from dist-s390x branch of docker-library repo. You can also view it
52+ # at https://github.com/docker-library/official-images/blob/master/library/busybox
53+ # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/s390x/rootfs.tar.gz
54+ # Update the sha256 value. Since github api doesn't give sha256 value, it can be obtained using sha256sum command.
55+ http_archive (
4656 name = "busybox_s390x" ,
47- executable = True ,
48- sha256 = "48d13ac057046b95ba58921958be639cc3a179ac888cdd65aacd7a69139aa857" ,
49- urls = [ "https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/busybox-s390x" ] ,
57+ sha256 = "3bd977f75e22a5e164e2e6ac3556cee55053022e9ad8bba89614e7a8680791d1" ,
58+ urls = [ "https://raw.githubusercontent.com/docker-library/busybox/87c948a4fac6f84195e795486a8d650b0c9cc10d/latest/musl/s390x/rootfs.tar.gz" ] ,
59+ build_file_content = BUSYBOX_ARCHIVE_BUILD ,
5060 )
5161
5262 # To update ppc64le busybox binary (#723)
5363 # Get the latest commit hash from dist-ppc64le branch of docker-library repo. You can also view it
5464 # at https://github.com/docker-library/official-images/blob/master/library/busybox
55- # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/busybox.tar.xz
65+ # Substitute it in the link: https://github.com/docker-library/busybox/raw/<latest-commit-hash>/latest/musl/busybox.tar.gz
5666 # Update the sha256 value. Since github api doesn't give sha256 value, it can be obtained using sha256sum command.
5767 http_archive (
5868 name = "busybox_ppc64le" ,
59- sha256 = "2d898cab234190697e5df74c537dd86955e9f61725d6c86d97b97c3d58aed9ca " ,
60- urls = ["https://github. com/docker-library/busybox/raw/aa059e43d48801abcb012dfa965a432fa12c385d/ latest/musl/busybox .tar.xz " ],
69+ sha256 = "f3f5d636887b8d56aabe29047a58ef074511f5252c722b1e476b7f79fd35fb7f " ,
70+ urls = ["https://raw.githubusercontent. com/docker-library/busybox/149c39d6036d77a55679c6b9e0c946ba2ad38555/ latest/musl/ppc64le/rootfs .tar.gz " ],
6171 build_file_content = BUSYBOX_ARCHIVE_BUILD ,
6272 )
6373
0 commit comments