Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions deploy/images/dockerfiles/data-process/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ RUN --mount=type=cache,id=nexent-data-process-apt-cache-${TARGETARCH},target=/va
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --fix-missing \
curl \
vim \
procps \
wget \
less \
tzdata \
postgresql-client \
libmagic1 \
Expand Down
2 changes: 2 additions & 0 deletions deploy/images/dockerfiles/docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ RUN if [ "$APK_MIRROR" = "tsinghua" ]; then \
' }' \
'}' > /etc/nginx/conf.d/default.conf

RUN apk add --no-cache curl vim procps-ng wget less

COPY --from=builder /app/docs/.vitepress/dist /usr/share/nginx/html

EXPOSE 4173
Expand Down
4 changes: 4 additions & 0 deletions deploy/images/dockerfiles/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ RUN --mount=type=cache,id=nexent-main-apt-cache-${TARGETARCH},target=/var/cache/
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
curl \
vim \
procps \
wget \
less \
tzdata \
postgresql-client \
fontconfig \
Expand Down
10 changes: 9 additions & 1 deletion deploy/images/dockerfiles/mcp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ RUN --mount=type=cache,id=nexent-mcp-apt-cache-${TARGETARCH},target=/var/cache/a
done; \
fi && \
apt-get update && \
apt-get install -y --no-install-recommends curl ca-certificates gnupg xz-utils
apt-get install -y --no-install-recommends \
curl \
vim \
procps \
wget \
less \
ca-certificates \
gnupg \
xz-utils

# Install Node.js 20 from official binaries (pin exact version to avoid repo issues)
ARG NODE_VERSION=20.17.0
Expand Down
7 changes: 5 additions & 2 deletions deploy/images/dockerfiles/sandbox-full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ LABEL org.opencontainers.image.title="Nexent Sandbox Full" \
USER root
RUN umask 0022

# Minimal apt surface: curl is required by some tools to fetch the
# /files endpoints; libgomp1 is needed by numpy/scipy wheels.
# Install runtime utilities and document-processing dependencies.
RUN --mount=type=cache,id=nexent-sandbox-apt-cache-${TARGETARCH},target=/var/cache/apt,sharing=locked \
--mount=type=cache,id=nexent-sandbox-apt-lists-${TARGETARCH},target=/var/lib/apt/lists,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean && \
Expand All @@ -174,6 +173,10 @@ RUN --mount=type=cache,id=nexent-sandbox-apt-cache-${TARGETARCH},target=/var/cac
apt-get update && \
apt-get install -y --no-install-recommends \
curl \
vim \
procps \
wget \
less \
fontconfig \
fonts-dejavu-core \
fonts-liberation \
Expand Down
7 changes: 5 additions & 2 deletions deploy/images/dockerfiles/sandbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ LABEL org.opencontainers.image.title="Nexent Sandbox" \
USER root
RUN umask 0022

# Minimal apt surface: curl is required by some tools to fetch the
# /files endpoints; libgomp1 is needed by numpy/scipy wheels.
# Install runtime utilities and libgomp1 for numpy/scipy wheels.
RUN --mount=type=cache,id=nexent-sandbox-apt-cache-${TARGETARCH},target=/var/cache/apt,sharing=locked \
--mount=type=cache,id=nexent-sandbox-apt-lists-${TARGETARCH},target=/var/lib/apt/lists,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean && \
Expand All @@ -96,6 +95,10 @@ RUN --mount=type=cache,id=nexent-sandbox-apt-cache-${TARGETARCH},target=/var/cac
apt-get update && \
apt-get install -y --no-install-recommends \
curl \
vim \
procps \
wget \
less \
libgomp1 \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
Expand Down
5 changes: 4 additions & 1 deletion deploy/images/dockerfiles/terminal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ RUN --mount=type=cache,id=nexent-terminal-apt-cache-${TARGETARCH},target=/var/ca
openssh-server \
curl \
wget \
vim \
procps \
less \
git \
python3 \
python3-pip \
python3-venv && \
if [ "$TERMINAL_VARIANT" = "conda" ]; then \
apt-get install -y --no-install-recommends vim build-essential; \
apt-get install -y --no-install-recommends build-essential; \
fi

# Configure SSH - enable root login + enable password authentication.
Expand Down
4 changes: 2 additions & 2 deletions deploy/images/dockerfiles/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ RUN if [ "$APK_MIRROR" = "tsinghua" ]; then \
echo "https://mirrors.tuna.tsinghua.edu.cn/alpine/latest-stable/community" >> /etc/apk/repositories; \
fi

# Update package index, upgrade busybox first, then install curl
# Update package index, upgrade busybox first, then install runtime utilities
# This avoids trigger script issues in cross-platform builds with QEMU emulation
RUN --mount=type=cache,id=nexent-web-apk-${TARGETARCH},target=/var/cache/apk,sharing=locked \
mkdir -p /var/cache/apk && \
apk update && \
(apk upgrade busybox || true) && \
apk add --no-scripts curl vim tzdata
apk add --no-scripts curl vim procps-ng wget less tzdata

WORKDIR /opt/frontend-dist

Expand Down
Loading
Loading