mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-07-02 07:01:30 +00:00
* feat: add auth cert config * feat: add auth cert api driver.js * feat: add auth cert enroll api - draft * feat: add auth cert demo config yaml * feat: finished gmssl sign user csr to cert * feat: support auth cert login * feat: support auth cert login * perf: user login via cert, and driver config * feat: user profile api add can_cert_auth field * feat: add cert auth log * feat: add cert auth support check acl, ip_block etc. * feat: cert auth support mfa check * feat: cert auth support mfa check * feat: little perf * feat: cert config add i18n * feat: cert login html add i18n * feat: add i18n lina * feat: add driver config demo * feat: add cert auth to settings * feat: add gmssl dockerfile-ee * feat: add user source choices * feat: remove gmssl-python sdk
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
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
|
|
|
|
ARG GMSSL_VERSION=3.1.1
|
|
|
|
RUN set -ex \
|
|
&& uv pip install -i${PIP_MIRROR} --group xpack \
|
|
&& rm -rf /root/.cache/
|
|
|
|
RUN set -ex \
|
|
&& wget -q -O /tmp/gmssl-install.sh \
|
|
"https://github.com/guanzhi/GmSSL/releases/download/v${GMSSL_VERSION}/GmSSL-${GMSSL_VERSION}-Linux.sh" \
|
|
&& chmod +x /tmp/gmssl-install.sh \
|
|
&& /tmp/gmssl-install.sh --prefix=/usr/local \
|
|
&& echo "/usr/local/GmSSL-${GMSSL_VERSION}-Linux/lib" > /etc/ld.so.conf.d/gmssl.conf \
|
|
&& ldconfig \
|
|
&& rm -f /tmp/gmssl-install.sh |