create-claude-workspace 1.1.56 → 1.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -314,7 +314,8 @@ async function main() {
|
|
|
314
314
|
const credentialsJson = join(home, '.claude', '.credentials.json');
|
|
315
315
|
if (existsSync(credentialsJson)) {
|
|
316
316
|
info('Mounting host Claude auth credentials into container.');
|
|
317
|
-
|
|
317
|
+
// NOT :ro — Claude CLI needs to write refreshed OAuth tokens back to this file
|
|
318
|
+
const vol = ` - ${toDockerPath(credentialsJson)}:/home/claude/.claude/.credentials.json`;
|
|
318
319
|
writeFileSync(AUTH_COMPOSE, `services:\n claude:\n volumes:\n${vol}\n`);
|
|
319
320
|
}
|
|
320
321
|
else {
|
|
@@ -29,6 +29,11 @@ RUN GLAB_VER=$(curl -fsSL "https://gitlab.com/api/v4/projects/34675721/releases/
|
|
|
29
29
|
-o /tmp/glab.deb && \
|
|
30
30
|
dpkg -i /tmp/glab.deb && rm /tmp/glab.deb
|
|
31
31
|
|
|
32
|
+
# Install bun
|
|
33
|
+
RUN curl -fsSL https://bun.sh/install | bash && \
|
|
34
|
+
ln -s /root/.bun/bin/bun /usr/local/bin/bun && \
|
|
35
|
+
ln -s /root/.bun/bin/bunx /usr/local/bin/bunx
|
|
36
|
+
|
|
32
37
|
# Install Claude Code natively as the claude user
|
|
33
38
|
RUN gosu claude bash -c 'curl -fsSL https://claude.ai/install.sh | bash'
|
|
34
39
|
ENV PATH="/home/claude/.local/bin:$PATH"
|