From bc45641086c03ed0549e61f932f0eb3f547ba21b Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:28:26 +0100 Subject: [PATCH] build openbsd Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- Dockerfile | 1 + docker-bake.hcl | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 39ef626d..bcbc1d0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,6 +98,7 @@ COPY --link --from=buildx-build /usr/bin/docker-buildx /buildx FROM binaries-unix AS binaries-darwin FROM binaries-unix AS binaries-freebsd FROM binaries-unix AS binaries-linux +FROM binaries-unix AS binaries-openbsd FROM scratch AS binaries-windows COPY --link --from=buildx-build /usr/bin/docker-buildx /buildx.exe diff --git a/docker-bake.hcl b/docker-bake.hcl index 0da1fe09..ef01212a 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -48,6 +48,8 @@ target "lint" { "linux/s390x", "linux/ppc64le", "linux/riscv64", + "openbsd/amd64", + "openbsd/arm64", "windows/amd64", "windows/arm64" ] : [] @@ -165,6 +167,8 @@ target "binaries-cross" { "linux/ppc64le", "linux/riscv64", "linux/s390x", + "openbsd/amd64", + "openbsd/arm64", "windows/amd64", "windows/arm64" ]