FROM codercom/enterprise-base:ubuntu USER root # 1. Update system packages and install dependencies RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \ DEBIAN_FRONTEND=noninteractive apt-get install -y curl wget git sudo zip unzip golang && \ rm -rf /var/lib/apt/lists/* # 2. Install Docker CLI RUN curl -fsSL https://get.docker.com | sh USER coder # 3. Install Bun RUN curl -fsSL https://bun.sh/install | bash # 4. Install SDKMAN! and Maven RUN curl -s "https://get.sdkman.io" | bash && \ bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && sdk install maven" # 5. Install Opencode RUN curl -fsSL https://opencode.ai/install | bash # Add tools to path ENV PATH="/home/coder/.opencode/bin:/home/coder/.bun/bin:${PATH}"