Skip to content

The Unified and Autonomous Development Platform

chore: Edit Dockerfile.agent

Robin Shenca2dc0062d46
diff --git a/server-product/docker/Dockerfile.agent b/server-product/docker/Dockerfile.agent
index ccd0c37aec..bd1894a134 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:26.10 AS build
+FROM ubuntu:26.04 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:26.10
+FROM ubuntu:26.04
COPY agent /agent
COPY entrypoint-agent.sh /root/bin/entrypoint.sh
COPY --from=build /usr/bin/docker /usr/local/bin/docker