You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/07/17 15:28:45 UTC

(tooling-trusted-releases) 01/01: Create an empty state directory in the Alpine container

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit 5cbc21c3c3a59e221f5bb44f801179bdea0c872c
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Jul 17 16:15:08 2026 +0100

    Create an empty state directory in the Alpine container
---
 Dockerfile.alpine | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile.alpine b/Dockerfile.alpine
index 1ef4d959..5a7e58a2 100644
--- a/Dockerfile.alpine
+++ b/Dockerfile.alpine
@@ -111,7 +111,9 @@ RUN apk update && \
       subversion
 
 RUN addgroup -g 1000 atr && \
-    adduser -u 1000 -G atr -D atr
+    adduser -u 1000 -G atr -D atr && \
+    mkdir -p /opt/atr/state && \
+    chown atr:atr /opt/atr/state
 
 COPY --from=depbuilder /usr/local/bin/syft /usr/local/bin/syft
 COPY --from=depbuilder /usr/local/bin/parlay /usr/local/bin/parlay


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org