The Unified and Autonomous Development Platform
fix: OpenID HTTPS error 403 when running in docker - outdated curl version (#1863)
Robin Shen3d4ca95261ae
diff --git a/server-product/docker/Dockerfile.server b/server-product/docker/Dockerfile.serverindex cb14ae70db..1a66b1561d 100644--- a/server-product/docker/Dockerfile.server+++ b/server-product/docker/Dockerfile.server@@ -1,9 +1,9 @@# Build the docker image for onedev server-FROM ubuntu:22.04 AS build+FROM ubuntu:24.04 AS buildRUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*RUN curl -fsSL https://get.docker.com | sh-FROM ubuntu:22.04+FROM ubuntu:24.04ARG TARGETPLATFORMCOPY app /appCOPY entrypoint-server.sh /root/bin/entrypoint.sh