From 31d3e789c4e7ff3f3c74365f26dcdff91b8ece6e Mon Sep 17 00:00:00 2001
From: Andri Joos <andri@joos.io>
Date: Sat, 16 Nov 2024 23:47:36 +0100
Subject: [PATCH] fix directory permissions for bundle tool dir

---
 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 90d4b8f..934177c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,7 +36,8 @@ RUN apk add --no-cache bash openjdk17-jdk \
     && addgroup ${USERNAME} -g ${USER_GID} \
     && adduser ${USERNAME} --uid ${USER_UID} --ingroup ${USERNAME} --disabled-password \
     && echo -e '#!/bin/bash\njava -jar '"$BUNDLETOOL_FILE"' "$@"' > ${BUNDLETOOL_BIN} \
-    && chmod +x ${BUNDLETOOL_BIN}
+    && chmod +x ${BUNDLETOOL_BIN} \
+    && chown -R ${USERNAME}:${USERNAME} ${BUNDLETOOL_DIR}
 
 USER ${USERNAME}
 
-- 
GitLab