|
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
|
|
|
|
RUN --mount=type=cache,target=/root/.cache \
|
|
set -ex \
|
|
&& poetry install --only=xpack |