mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	build(Docker): get rid of apparently unused packages at build stage
This commit is contained in:
		
							parent
							
								
									e9824c4568
								
							
						
					
					
						commit
						68875683af
					
				
							
								
								
									
										14
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								Dockerfile
									
									
									
									
									
								
							@ -1,20 +1,6 @@
 | 
			
		||||
# Build stage
 | 
			
		||||
FROM node:22.14.0-bullseye-slim AS builder
 | 
			
		||||
 | 
			
		||||
# Configure build dependencies in a single layer
 | 
			
		||||
# TriliumNextTODO: These don't seem to be required at all
 | 
			
		||||
# RUN apt-get update && apt-get install -y --no-install-recommends \
 | 
			
		||||
#     autoconf \
 | 
			
		||||
#     automake \
 | 
			
		||||
#     g++ \
 | 
			
		||||
#     gcc \
 | 
			
		||||
#     libtool \
 | 
			
		||||
#     make \
 | 
			
		||||
#     nasm \
 | 
			
		||||
#     libpng-dev \
 | 
			
		||||
#     python3 \
 | 
			
		||||
#     && rm -rf /var/lib/apt/lists/*
 | 
			
		||||
 | 
			
		||||
WORKDIR /usr/src/app/build
 | 
			
		||||
 | 
			
		||||
# Copy only necessary files for build
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user