mirror of
				https://github.com/telekom-security/tpotce.git
				synced 2025-10-30 20:12:53 +00:00 
			
		
		
		
	 967ddf6d2f
			
		
	
	
		967ddf6d2f
		
	
	
	
	
		
			
			- bump nginx to alpine 3.20 - bump cyberchef to latest release - bump elasticvue to latest release - update nginx config
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			583 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			583 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| #FROM node:17.9.0-alpine3.15 as builder
 | |
| FROM node:18-alpine as builder
 | |
| #
 | |
| # Prep and build Cyberchef
 | |
| ENV CY_VER=v10.19.4
 | |
| RUN apk -U --no-cache add build-base git python3 && \
 | |
|     chown -R node:node /srv && \
 | |
|     npm install -g grunt-cli
 | |
| WORKDIR /srv
 | |
| USER node
 | |
| RUN git clone https://github.com/gchq/cyberchef -b $CY_VER . && \
 | |
|     NODE_OPTIONS=--max_old_space_size=2048 && \
 | |
|     npm install && \
 | |
|     grunt prod && \
 | |
|     cd build/prod && \
 | |
|     rm CyberChef_$CY_VER.zip && \
 | |
|     tar cvfz cyberchef.tgz *
 | |
| #    
 | |
| FROM scratch AS exporter
 | |
| COPY --from=builder /srv/build/prod/cyberchef.tgz /
 |