Custom Containerfile
The default CropsCode container image covers general development. For specialized needs, build your own.
Base image
Section titled “Base image”Start from the CropsCode base image to get all default tools:
FROM localhost/claude-code-terminal:latest
# Add your customizationsRUN npm install -g typescript @angular/cliExample: Python data science environment
Section titled “Example: Python data science environment”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/*Example: Rust development
Section titled “Example: Rust development”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 rustfmtBuilding
Section titled “Building”Build on your worker machine:
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”
Using your image
Section titled “Using your image”When launching a container, select your custom image from the runtime dropdown in the orchestrator dashboard.