mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-07-02 15:08:22 +00:00
* perf: Update Dockerfile with new base image tag * perf: update uv lock * perf: update nmap * perf: remove nmap * perf: remove nmap * perf: remove unused tools * perf: update uv lock --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: ibuler <ibuler@qq.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ibuler <17382885+ibuler@users.noreply.github.com>
26 lines
687 B
Plaintext
26 lines
687 B
Plaintext
ARG VERSION=dev
|
|
|
|
FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} AS build-xpack
|
|
FROM jumpserver/core:${VERSION}-ce
|
|
|
|
COPY --from=build-xpack /opt/xpack /opt/jumpserver/apps/xpack
|
|
|
|
ARG TOOLS=" \
|
|
g++ \
|
|
iputils-ping \
|
|
netcat-openbsd \
|
|
telnet"
|
|
|
|
RUN set -ex \
|
|
&& apt-get update \
|
|
&& apt-get -y install --no-install-recommends ${TOOLS} \
|
|
&& apt-get clean all \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /opt/jumpserver
|
|
|
|
ARG PIP_MIRROR=https://pypi.org/simple
|
|
|
|
RUN set -ex \
|
|
&& uv pip install -i${PIP_MIRROR} --group xpack \
|
|
&& rm -rf /root/.cache/ |