Skip to content

Custom Containerfile

The default CropsCode container image covers general development. For specialized needs, build your own.

Start from the CropsCode base image to get all default tools:

FROM localhost/claude-code-terminal:latest
# Add your customizations
RUN npm install -g typescript @angular/cli
FROM localhost/claude-code-terminal:latest
RUN apt-get update && apt-get install -y python3 python3-pip python3-venv \
&& pip3 install pandas numpy scikit-learn jupyter \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
FROM localhost/claude-code-terminal:latest
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& . $HOME/.cargo/env \
&& rustup component add clippy rustfmt

Build on your worker machine:

Terminal window
podman build -t localhost/my-custom-image:latest -f Containerfile .

Or trigger a build from the orchestrator dashboard / CropPilot:

“Build my-custom-image from ./Containerfile”

When launching a container, select your custom image from the runtime dropdown in the orchestrator dashboard.

Getting Started Concepts Guides CLI Self-Hosting Reference Links