Skip to content

Commit 0b28792

Browse files
committed
chore(docker): comment out slow CI tooling installs
GitHub Actions runs were slowed by these installs. Keep the tooling block commented for now and revisit once a templated build image is available.
1 parent 49af721 commit 0b28792

1 file changed

Lines changed: 58 additions & 52 deletions

File tree

packages/core/src/docker/Dockerfile

Lines changed: 58 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -351,60 +351,66 @@ RUN mkdir -p /etc/cockpit && \
351351
USER opencode
352352

353353
# -----------------------------------------------------------------------------
354-
# CI/CD Tools
354+
# CI/CD + tooling (disabled)
355355
# -----------------------------------------------------------------------------
356-
# act v0.2.84 (2026-01-01) - run GitHub Actions locally
357-
RUN curl -sL https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash -s -- -b /home/opencode/.local/bin v0.2.84
358-
359-
# -----------------------------------------------------------------------------
360-
# Rust Tooling - pinned versions (2026-01-22)
361-
# -----------------------------------------------------------------------------
362-
# cargo-nextest 0.9.122 - fast test runner
363-
# cargo-audit 0.22.0 - security audit
364-
# cargo-deny 0.19.0 - dependency linter
365-
RUN . /home/opencode/.cargo/env \
366-
&& cargo install --locked cargo-nextest@0.9.122 cargo-audit@0.22.0 cargo-deny@0.19.0
367-
368-
# Install mold fast linker (2026-01-22)
369-
USER root
370-
RUN apt-get update && apt-get install -y --no-install-recommends mold=2.30.* \
371-
&& rm -rf /var/lib/apt/lists/*
372-
USER opencode
373-
356+
# NOTE: Commented out because this section adds significant time in GitHub Actions
357+
# builds. We will reconsider re-adding these tools later, potentially in a more
358+
# templated/configured Docker image optimized for build tooling.
374359
# -----------------------------------------------------------------------------
375-
# Code Quality Tools
376-
# -----------------------------------------------------------------------------
377-
# JavaScript/TypeScript tools
378-
RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
379-
&& pnpm add -g \
380-
prettier \
381-
eslint \
382-
@biomejs/biome
383-
384-
# Python tools
385-
RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
386-
&& pipx install black \
387-
&& pipx install ruff
388-
389-
# Test runners (commonly needed)
390-
RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
391-
&& pnpm add -g jest vitest
392-
393-
# Python pytest via pipx
394-
RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
395-
&& pipx install pytest
396-
397-
# -----------------------------------------------------------------------------
398-
# Protocol Buffers / gRPC (2026-01-22)
399-
# -----------------------------------------------------------------------------
400-
USER root
401-
RUN apt-get update && apt-get install -y --no-install-recommends protobuf-compiler=3.21.* \
402-
&& rm -rf /var/lib/apt/lists/*
403-
USER opencode
404-
405-
# grpcurl v1.9.3 (2025-03-11) - gRPC debugging tool
406-
RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
407-
&& go install github.com/fullstorydev/grpcurl/cmd/grpcurl@v1.9.3
360+
# # CI/CD Tools
361+
# # -----------------------------------------------------------------------------
362+
# # act v0.2.84 (2026-01-01) - run GitHub Actions locally
363+
# RUN curl -sL https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash -s -- -b /home/opencode/.local/bin v0.2.84
364+
#
365+
# # -----------------------------------------------------------------------------
366+
# # Rust Tooling - pinned versions (2026-01-22)
367+
# # -----------------------------------------------------------------------------
368+
# # cargo-nextest 0.9.122 - fast test runner
369+
# # cargo-audit 0.22.0 - security audit
370+
# # cargo-deny 0.19.0 - dependency linter
371+
# RUN . /home/opencode/.cargo/env \
372+
# && cargo install --locked cargo-nextest@0.9.122 cargo-audit@0.22.0 cargo-deny@0.19.0
373+
#
374+
# # Install mold fast linker (2026-01-22)
375+
# USER root
376+
# RUN apt-get update && apt-get install -y --no-install-recommends mold=2.30.* \
377+
# && rm -rf /var/lib/apt/lists/*
378+
# USER opencode
379+
#
380+
# # -----------------------------------------------------------------------------
381+
# # Code Quality Tools
382+
# # -----------------------------------------------------------------------------
383+
# # JavaScript/TypeScript tools
384+
# RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
385+
# && pnpm add -g \
386+
# prettier \
387+
# eslint \
388+
# @biomejs/biome
389+
#
390+
# # Python tools
391+
# RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
392+
# && pipx install black \
393+
# && pipx install ruff
394+
#
395+
# # Test runners (commonly needed)
396+
# RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
397+
# && pnpm add -g jest vitest
398+
#
399+
# # Python pytest via pipx
400+
# RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
401+
# && pipx install pytest
402+
#
403+
# # -----------------------------------------------------------------------------
404+
# # Protocol Buffers / gRPC (2026-01-22)
405+
# # -----------------------------------------------------------------------------
406+
# USER root
407+
# RUN apt-get update && apt-get install -y --no-install-recommends protobuf-compiler=3.21.* \
408+
# && rm -rf /var/lib/apt/lists/*
409+
# USER opencode
410+
#
411+
# # grpcurl v1.9.3 (2025-03-11) - gRPC debugging tool
412+
# RUN eval "$(/home/opencode/.local/bin/mise activate bash)" \
413+
# && go install github.com/fullstorydev/grpcurl/cmd/grpcurl@v1.9.3
408414

409415
# -----------------------------------------------------------------------------
410416
# opencode Installation

0 commit comments

Comments
 (0)