Skip to content

Commit 3cc3d84

Browse files
pftgclaude
andcommitted
fix: Docker build — restore .git and fix bundle cache permissions
- Remove .git/ from .dockerignore (needed for gemspec git ls-files and VCS checkout in tests) - Add uid/gid to bundle cache mount so circleci user can write Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 17a3991 commit 3cc3d84

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.ruby-lsp/
33
coverage/
44
tmp/
5-
.git/
5+
# Keep .git/ — needed for gemspec git ls-files and VCS checkout in tests
66
.idea/
77
.claude/
88
.bundle/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ WORKDIR /app
5252
COPY --chown=circleci:circleci . .
5353

5454
# Install gems with cached bundle
55-
RUN --mount=type=cache,target=/bundle \
55+
RUN --mount=type=cache,target=/bundle,uid=1000,gid=1000 \
5656
bundle config set without 'tools' && \
5757
bundle install

0 commit comments

Comments
 (0)