fix(image): COPY --chmod in Dockerfile.platform-agent (build failed on non-root tenant base) #2984
Reference in New Issue
Block a user
Delete Branch "fix/platform-agent-copy-chmod"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #2982. The platform-agent build failed at RUN chmod +x with Operation not permitted because platform-tenant runs as non-root. Replaced both COPY+RUN chmod pairs with COPY --chmod=0755. EMPIRICALLY VERIFIED: manual buildx FROM platform-tenant:staging-latest now completes all layers (push only blocked by cross-account ECR perms on the build host; CI publish runner has prod-account perms). This is the last fix to make the concierge identity image actually build.