File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,9 +130,11 @@ COPY config.json project-repos.json CLAUDE.md .mcp.json entrypoint.sh ./
130130COPY .claude/ .claude/
131131COPY personas/ personas/
132132
133- # Fix ownership
134- RUN chown -R botuser:botuser /home/botuser/app
133+ # Fix ownership — botuser:0 + group-writable so OpenShift arbitrary UIDs (always GID 0) can write
134+ RUN chown -R botuser:0 /home/botuser \
135+ && chmod -R g+rwX /home/botuser
135136
137+ ENV HOME=/home/botuser
136138USER botuser
137139
138140# Buildah rootless config — vfs driver (no kernel module needed, works everywhere)
Original file line number Diff line number Diff line change 1313
1414RUN pip3 install uv
1515
16+ ENV UV_CACHE_DIR=/tmp/uv-cache
17+
1618WORKDIR /app
1719
1820COPY memory-server/pyproject.toml memory-server/uv.lock* ./
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.n
77COPY squid.conf /etc/squid/squid.conf
88
99RUN mkdir -p /var/log/squid /var/spool/squid /var/run/squid \
10- && chown -R squid:squid /var/log/squid /var/spool/squid /var/run/squid
10+ && chown -R squid:0 /var/log/squid /var/spool/squid /var/run/squid \
11+ && chmod -R g+rwX /var/log/squid /var/spool/squid /var/run/squid
1112
1213EXPOSE 3128
1314USER squid
You can’t perform that action at this time.
0 commit comments