agentic-os/agents/temporal-worker-base/Dockerfile

18 lines
657 B
Docker

FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
ARG KUBECTL_VERSION=v1.30.2
RUN curl -fsSL "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" -o /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl
RUN pip install --no-cache-dir \
"temporalio>=1.8.0" \
"kubernetes>=30.0.0" \
"psycopg[binary]>=3.2.0" \
"langgraph>=0.2.0" \
"langgraph-checkpoint-postgres>=2.0.0" \
"langchain-openai>=0.2.0" \
"mcp[cli]>=1.2.0"
WORKDIR /worker