mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	allow podman build
This commit is contained in:
		
							parent
							
								
									f58c2d0a7b
								
							
						
					
					
						commit
						1d38367e79
					
				@ -117,9 +117,10 @@ COPY gunicorn.conf.py .
 | 
				
			|||||||
# setup docker-specific things
 | 
					# setup docker-specific things
 | 
				
			||||||
# Use mounts to avoid copying installer files into the image
 | 
					# Use mounts to avoid copying installer files into the image
 | 
				
			||||||
# These change sometimes, but rarely
 | 
					# These change sometimes, but rarely
 | 
				
			||||||
WORKDIR /usr/src/paperless/src/docker/
 | 
					ARG DOCKER_SRC=/usr/src/paperless/src/docker/
 | 
				
			||||||
 | 
					WORKDIR ${DOCKER_SRC}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN --mount=type=bind,readwrite,source=docker,target=./ \
 | 
					RUN --mount=type=bind,readwrite,source=docker,target=${DOCKER_SRC} \
 | 
				
			||||||
  set -eux \
 | 
					  set -eux \
 | 
				
			||||||
  && echo "Configuring ImageMagick" \
 | 
					  && echo "Configuring ImageMagick" \
 | 
				
			||||||
    && cp imagemagick-policy.xml /etc/ImageMagick-6/policy.xml \
 | 
					    && cp imagemagick-policy.xml /etc/ImageMagick-6/policy.xml \
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user