Commit graph

9 commits

Author SHA1 Message Date
Jeremi Piotrowski
b4644ca3c8 Dockerfile: Build actually static binaries
Without '-linkmode external' some of the produced binaries were not actually
static. /bin/garm was fine but providers would fail with "exit code 127" when
executed. Unpacking the container image and running the binaries in strace
showed that they were accessing the musl dynamic linker.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-02-16 09:31:04 +01:00
Gabriel Adrian Samfira
342ed8e990 Add new providers
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-02-12 19:16:12 +00:00
Gabriel Adrian Samfira
ff5b9d22a7 Fix k8s path
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-12-18 15:24:52 +00:00
Gabriel Adrian Samfira
c4b2a3cd1f Update Dockerfile
Add new providers to Dockerfile:

* k8s
* lxd
* incus

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-12-18 14:56:05 +00:00
Gabriel Adrian Samfira
af54b55cea Enable Windows builds
This change adds the needed bits to enable Windows builds. This also adds
a new make target to create the release files that will be uploaded as part
of new releases.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-08-18 14:46:00 +00:00
Gabriel Adrian Samfira
30036bd128 Copy x509 root CAs
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-07-15 23:22:38 +00:00
Gabriel Adrian Samfira
f96ea1edcf Add dockerfile and workflow
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-07-15 23:22:32 +00:00
Kai Lueke
f052709112 Support building with Podman instead of Docker
When /usr/bin/docker is a wrapper for podman (as common no Fedora),
Podman will be used which requires the full image name including the
registry. It does not require the chown step, because this results in
the files being owned by a temporary mapped ID due to the user
namespace in rootless mode (which is the default unless Podman is run
by the root user) - make the chown a no-op by using UID/GID 0.
2022-06-30 13:06:33 +02:00
Gabriel Adrian Samfira
bbbe67bf7c Vendor packages and add Makefile
* Vendors packages
  * Adds a Makefile that uses docker to build a static binary against musl
using alpine linux.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-06-30 10:20:32 +00:00