Commit Graph

13 Commits

Author SHA1 Message Date
Tianon Gravi 5b5487f087 Update shebang from /bin/bash to /usr/bin/env bash 2025-03-24 16:35:14 -07:00
Tianon Gravi f689a8df49 Support building on an arm64 host too
This adds a `.host-arch` symlink to build output; this doesn't get committed (for hopefully obvious reasons), but allows for things like `CMD` and `update.sh` to have a known-effective target for testing the output further in some way.

This was a mapping we already had thanks to `ARCH_TEST`, so I've also reordered our builds such that they're grouped by "host" architecture and sorted by "preference"/compatibility (with the goal that we get a more "correct" `.host-arch` symlink).
2025-02-03 12:15:59 -08:00
Tianon Gravi 7ecae69780 Convert from glibc-based binaries to musl-based binaries
The intent of the previous implementation was to avoid libc, but it turns out that just invoking a syscall without libc is complicated (see https://github.com/docker-library/hello-world/pull/62#issuecomment-568573535 for details).

On the other hand, my personal machine can cross-compile all of musl in ~30s per architecture, which is pretty reasonable, and the resulting binary sizes are only around ~10k each, and I was able to do so successfully for every architecture we currently support.
2019-12-30 16:06:25 -08:00
Tianon Gravi 9c93e37114 Add Windows 1809 support 2018-12-31 12:59:44 -08:00
Tianon Gravi 7c49831fd4 Add Nano Server 1803 variants 2018-07-09 16:19:25 -07:00
Tianon Gravi d206a43516 Use new microsoft/nanoserver tags (sac2016)
See https://hub.docker.com/r/microsoft/nanoserver/ (:1709 vs :sac2016)
2017-11-22 13:39:05 -08:00
Tianon Gravi b9c8214f52 Add microsoft/nanoserver:1709 variants 2017-11-01 11:37:30 -07:00
Tianon Gravi 7d0ee592e4 Add initial multiarchitecture support via Debian cross-compiled binaries 2017-06-13 16:17:33 -07:00
Tianon Gravi 0f30176f82 Add "nanoserver" variants using "hello.txt" + powershell 2016-11-18 09:50:16 -08:00
Tianon Gravi 85fd7ab65e Switch to the C version officially, and make some minor modifications to ensure cross-architecture compatibility is maximized 2016-06-29 16:31:30 -07:00
Tianon Gravi a2654a9266 Refactor repo to handle vanity DockerCon variant images 2016-06-28 10:58:00 -07:00
Tianon Gravi 7c64556e3d Update a few minor bits for better caching and verification 2016-04-26 12:50:16 -07:00
Tianon Gravi 53828bc823 Add "Dockerfile.build" for building 2015-06-18 15:51:57 -07:00