moby/pkg/chrootarchive
Gabriel Adrian Samfira dadeec4205
Disable chrootarchive.init() on Windows
Disables user.Lookup() and net.LookupHost() in the init() function on Windows.

Any package that simply imports pkg/chrootarchive will panic on Windows
Nano Server, due to missing netapi32.dll. While docker itself is not
meant to run on Nano Server, binaries that may import this package and
run on Nano server, will fail even if they don't really use any of the
functionality in this package while running on Nano.

Conflicts:
    pkg/chrootarchive/archive_unix.go

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
(cherry picked from commit f49c88f1c4)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-18 17:06:11 +01:00
..
archive.go Disable chrootarchive.init() on Windows 2023-01-18 17:06:11 +01:00
archive_test.go Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
archive_unix.go Disable chrootarchive.init() on Windows 2023-01-18 17:06:11 +01:00
archive_unix_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
archive_windows.go Add chroot for tar packing operations 2019-06-03 09:45:29 -07:00
chroot_linux.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
chroot_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
diff.go Add canonical import comment 2018-02-05 16:51:57 -05:00
diff_unix.go pkg/system: remove Umask() utility 2022-11-05 18:30:26 +01:00
diff_windows.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
init_unix.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00