mirror of https://github.com/jumpserver/jumpserver
				
				
				
			
		
			
				
	
	
		
			32 lines
		
	
	
		
			966 B
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			966 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++                           \
 | 
						|
        curl                          \
 | 
						|
        iputils-ping                  \
 | 
						|
        netcat-openbsd                \
 | 
						|
        nmap                          \
 | 
						|
        telnet                        \
 | 
						|
        vim                           \
 | 
						|
        postgresql-client-13          \
 | 
						|
        wget                          \
 | 
						|
        poppler-utils"
 | 
						|
 | 
						|
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 \
 | 
						|
    && playwright install chromium  --with-deps --only-shell |