Update Alpine packages (same as in Dockerfile-debian) and install 3 common boost packages already in the alpine-mimalloc stage
This commit is contained in:
		
							parent
							
								
									6798e285e2
								
							
						
					
					
						commit
						62e269e6a9
					
				@ -1,6 +1,12 @@
 | 
			
		||||
FROM alpine:3.21.2 AS alpine-mimalloc
 | 
			
		||||
 | 
			
		||||
RUN apk add --no-cache mimalloc
 | 
			
		||||
RUN apk update && \
 | 
			
		||||
    apk upgrade && \
 | 
			
		||||
    apk add --no-cache \
 | 
			
		||||
        boost-iostreams \
 | 
			
		||||
        boost-program_options \
 | 
			
		||||
        boost-thread \
 | 
			
		||||
        mimalloc
 | 
			
		||||
 | 
			
		||||
ENV LD_PRELOAD=/usr/lib/libmimalloc.so.2
 | 
			
		||||
ENV MIMALLOC_LARGE_OS_PAGES=1
 | 
			
		||||
@ -14,9 +20,6 @@ RUN mkdir -p /src /opt && \
 | 
			
		||||
    apk add --no-cache \
 | 
			
		||||
    boost-dev \
 | 
			
		||||
    boost-filesystem \
 | 
			
		||||
    boost-iostreams \
 | 
			
		||||
    boost-program_options \
 | 
			
		||||
    boost-thread \
 | 
			
		||||
    clang \
 | 
			
		||||
    cmake \
 | 
			
		||||
    expat-dev \
 | 
			
		||||
@ -59,9 +62,6 @@ COPY --from=builder /opt /opt
 | 
			
		||||
 | 
			
		||||
RUN apk add --no-cache \
 | 
			
		||||
    boost-date_time \
 | 
			
		||||
    boost-iostreams \
 | 
			
		||||
    boost-program_options \
 | 
			
		||||
    boost-thread \
 | 
			
		||||
    expat \
 | 
			
		||||
    lua5.4 \
 | 
			
		||||
    onetbb && \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user