File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/lib/src/core/templates Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -64,12 +64,14 @@ RUN claude --version
6464RUN npm install -g @google/gemini-cli@latest --force
6565RUN gemini --version`
6666
67+ const openCodeVersion = "1.2.27"
68+
6769const renderDockerfileOpenCode = ( ) : string =>
6870 `# Tooling: OpenCode (binary)
6971RUN set -eu; \
7072 for attempt in 1 2 3 4 5; do \
7173 if curl -fsSL --retry 5 --retry-all-errors --retry-delay 2 https://opencode.ai/install \
72- | HOME=/usr/local bash -s -- --no-modify-path; then \
74+ | HOME=/usr/local bash -s -- --version ${ openCodeVersion } -- no-modify-path; then \
7375 exit 0; \
7476 fi; \
7577 echo "opencode install attempt \${attempt} failed; retrying..." >&2; \
@@ -225,7 +227,7 @@ RUN mkdir -p ${config.targetDir} \
225227 && if [ "${ config . targetDir } " != "/" ]; then chown -R 1000:1000 "${ config . targetDir } "; fi
226228
227229COPY entrypoint.sh /entrypoint.sh
228- RUN sed -i 's/\r$//' /entrypoint.sh && chmod +x /entrypoint.sh
230+ RUN sed -i 's/\\ r$//' /entrypoint.sh && chmod +x /entrypoint.sh
229231
230232EXPOSE 22
231233ENTRYPOINT ["/entrypoint.sh"]`
You can’t perform that action at this time.
0 commit comments