define the HOME env to allow running rootless (#612)

This commit is contained in:
Guiorgy authored and GitHub committed 2025-11-22 15:20:15 +08:00
1 parent 386c83874c
commit 6b72cefbc5
1 file changed
+5 -4
+5 -4
View File
@@ -1,4 +1,5 @@
FROM scratch
COPY hbbs /usr/bin/hbbs
COPY hbbr /usr/bin/hbbr
WORKDIR /root
FROM scratch
COPY hbbs /usr/bin/hbbs
COPY hbbr /usr/bin/hbbr
WORKDIR /root
ENV HOME=/root