mirror of https://github.com/jumpserver/jumpserver
11 lines
324 B
Plaintext
11 lines
324 B
Plaintext
ARG VERSION
|
|
FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} as build-xpack
|
|
FROM jumpserver/core:${VERSION}
|
|
COPY --from=build-xpack /opt/xpack /opt/jumpserver/apps/xpack
|
|
|
|
WORKDIR /opt/jumpserver
|
|
|
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
|
set -ex \
|
|
&& pip install -r requirements/requirements_xpack.txt
|