From 1e6231745991aa559182aed99e69b6066a1da536 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 25 Feb 2023 22:54:23 +0200
Subject: [PATCH] Toolbx: Add host-spawn.

---
 toolbx/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/toolbx/Dockerfile b/toolbx/Dockerfile
index f15c516..db08e38 100644
--- a/toolbx/Dockerfile
+++ b/toolbx/Dockerfile
@@ -1,4 +1,8 @@
+FROM docker.io/golang:1.20 as golang
+RUN go install github.com/1player/host-spawn@1.4.1
+
 FROM docker.io/debian:testing-backports
+COPY --from=golang /go/bin/host-spawn /usr/local/bin/host-spawn
 SHELL ["/bin/bash", "-o", "pipefail", "-xc"]
 ADD [ "https://www.shore.co.il/blog/static/runas", "/usr/local/sbin/runas" ]
 # hadolint ignore=DL3008
-- 
GitLab