From c470fb61b4bb3b9891bd0ac4031fd618a0ff36da Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Mon, 26 Feb 2024 14:18:58 +0200
Subject: [PATCH] Workbench: Fix a very high file owner ID.

Not user why, but
/usr/local/lib/node_modules/@bitwarden/cli/node_modules/http-assert/node_modules/statuses/HISTORY.md
has a very high owner UID (1516583083) which exceeds the default
subordinate range in /etc/subuid. Since this image is meant for use
rootless with toolbx, this is an issue as it fails to pull correctly.
---
 workbench/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/workbench/Dockerfile b/workbench/Dockerfile
index 2fa76c5..2476131 100644
--- a/workbench/Dockerfile
+++ b/workbench/Dockerfile
@@ -247,6 +247,7 @@ RUN npm install --global \
         @playwright/test \
         corepack \
     && \
+    chown -R root /usr/local/lib/node_modules/@bitwarden/cli/node_modules/http-assert/node_modules/statuses && \
     rm -rf /tmp/* /var/tmp/* ~/.cache/*
 RUN export GOPATH=/usr/local/lib/go && \
     mkdir "$GOPATH" && \
-- 
GitLab