mirror of
				https://git.tt-rss.org/fox/ttrss-docker-compose
				synced 2025-11-04 09:54:13 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			493 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			493 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM postgres:13
 | 
						|
EXPOSE 5432
 | 
						|
 | 
						|
COPY init-count-bits.sh /docker-entrypoint-initdb.d/
 | 
						|
 | 
						|
RUN apt-get update && \
 | 
						|
	apt-get -y install git libpq-dev postgresql-server-dev-13 gcc make && \
 | 
						|
	git clone https://github.com/sldab/count-bits.git /opt/count-bits && \
 | 
						|
	cd /opt/count-bits && \
 | 
						|
	make && \
 | 
						|
	sed -i.bak 's/create_functions: install/create_functions:/' Makefile && \
 | 
						|
	make install && \
 | 
						|
	apt-get -y remove git libpq-dev postgresql-server-dev-13 && \
 | 
						|
	apt-get -y autoremove && \
 | 
						|
	apt-get -y clean
 | 
						|
 |