Skip to content

The Unified and Autonomous Development Platform

chore: Edit Dockerfile.agent

Robin Shenc4032df0176b
diff --git a/server-product/docker/Dockerfile.agent b/server-product/docker/Dockerfile.agent
index 6373bec456..ccd0c37aec 100644
--- a/server-product/docker/Dockerfile.agent
+++ b/server-product/docker/Dockerfile.agent
@@ -1,9 +1,9 @@
# Build the docker image for onedev agent
-FROM ubuntu:24.04 AS build
+FROM ubuntu:26.10 AS build
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://get.docker.com | sh
-FROM ubuntu:24.04
+FROM ubuntu:26.10
COPY agent /agent
COPY entrypoint-agent.sh /root/bin/entrypoint.sh
COPY --from=build /usr/bin/docker /usr/local/bin/docker