Skip to content

Commit 3997e0d

Browse files
committed
fix(docker): add git to container image
Git is required for project creation and initialization. Without it, creating new projects fails with exit code 1 when trying to run 'git init'.
1 parent cb9d9f4 commit 3997e0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM alpine AS base
44
# On ephemeral containers, the cache is not useful
55
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
66
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=${BUN_RUNTIME_TRANSPILER_CACHE_PATH}
7-
RUN apk add libgcc libstdc++ ripgrep
7+
RUN apk add libgcc libstdc++ ripgrep git
88

99
FROM base AS build-amd64
1010
COPY dist/shuvcode-linux-x64-baseline-musl/bin/shuvcode /usr/local/bin/shuvcode

0 commit comments

Comments
 (0)