27 lines
		
	
	
		
			467 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			467 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM docker:git
 | |
| 
 | |
| ENV VERSION=v8.11.1 NPM_VERSION=latest
 | |
| ENV CONFIG_FLAGS="--fully-static" DEL_PKGS="libgcc libstdc++" RM_DIRS=/usr/include
 | |
| 
 | |
| RUN apk add --no-cache \
 | |
|   openssl \
 | |
|   ca-certificates \
 | |
|   bash \
 | |
|   curl \
 | |
|   make \
 | |
|   gcc \
 | |
|   g++ \
 | |
|   python \
 | |
|   linux-headers \
 | |
|   paxctl \
 | |
|   libgcc \
 | |
|   libstdc++ \
 | |
|   gnupg \
 | |
|   nodejs \
 | |
|   yarn \
 | |
|   && update-ca-certificates
 | |
| 
 | |
| RUN yarn global add @shipzone/npmci
 | |
| RUN npm config set unsafe-perm true
 | |
| ENV PATH /root/.yarn/bin:$PATH
 |