mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
324 B
11 lines
324 B
2 years ago
|
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
|