Skip to content

The Unified and Autonomous Development Platform

fix: Backup script reports "rev not found" when run in container

Robin Shena052dce64a94
diff --git a/server-product/docker/Dockerfile.server b/server-product/docker/Dockerfile.server
index 9676b6ac82..14785a4f32 100644
--- a/server-product/docker/Dockerfile.server
+++ b/server-product/docker/Dockerfile.server
@@ -7,7 +7,7 @@ FROM ubuntu:26.04
ARG TARGETPLATFORM
COPY app /app
COPY entrypoint-server.sh /root/bin/entrypoint.sh
-RUN apt-get update && apt-get install -y locales iproute2 curl git git-lfs openjdk-17-jre-headless && rm -rf /var/lib/apt/lists/*
+RUN apt-get update && apt-get install -y bsdextrautils locales iproute2 curl git git-lfs openjdk-17-jre-headless && rm -rf /var/lib/apt/lists/*
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
ENV LANG=en_US.UTF-8