From 0ad1f2f5fbdcab8d1e6352a21aae77514e1dcb26 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Mon, 5 May 2025 13:25:45 -0700 Subject: [PATCH] fix: missing gosu command for rootful mode --- util/Setup/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/Setup/entrypoint.sh b/util/Setup/entrypoint.sh index 0d81192f3c..b981d760a9 100644 --- a/util/Setup/entrypoint.sh +++ b/util/Setup/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Setup @@ -40,6 +40,8 @@ then mkdir -p /bitwarden/nginx mkdir -p /bitwarden/ca-certificates chown -R $USERNAME:$GROUPNAME /bitwarden + + gosu_cmd="gosu $USERNAME:$GROUPNAME" else gosu_cmd="" fi