Set host timezone for unbound and solr
This commit is contained in:
		@@ -2,7 +2,7 @@ FROM solr:7-alpine
 | 
				
			|||||||
USER root
 | 
					USER root
 | 
				
			||||||
COPY docker-entrypoint.sh /
 | 
					COPY docker-entrypoint.sh /
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN apk --no-cache add su-exec curl \
 | 
					RUN apk --no-cache add su-exec curl tzdata \
 | 
				
			||||||
  && chmod +x /docker-entrypoint.sh \
 | 
					  && chmod +x /docker-entrypoint.sh \
 | 
				
			||||||
  && /docker-entrypoint.sh --bootstrap
 | 
					  && /docker-entrypoint.sh --bootstrap
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,6 +8,7 @@ RUN apk add --update --no-cache \
 | 
				
			|||||||
	bash \
 | 
						bash \
 | 
				
			||||||
	openssl \
 | 
						openssl \
 | 
				
			||||||
	drill \
 | 
						drill \
 | 
				
			||||||
 | 
						tzdata \
 | 
				
			||||||
	&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache \
 | 
						&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache \
 | 
				
			||||||
	&& chown root:unbound /etc/unbound \
 | 
						&& chown root:unbound /etc/unbound \
 | 
				
			||||||
  && adduser unbound tty \
 | 
					  && adduser unbound tty \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -403,6 +403,7 @@ services:
 | 
				
			|||||||
      dns:
 | 
					      dns:
 | 
				
			||||||
        - ${IPV4_NETWORK:-172.22.1}.254
 | 
					        - ${IPV4_NETWORK:-172.22.1}.254
 | 
				
			||||||
      environment:
 | 
					      environment:
 | 
				
			||||||
 | 
					        - TZ=${TZ}
 | 
				
			||||||
        - SOLR_HEAP=${SOLR_HEAP:-1024}
 | 
					        - SOLR_HEAP=${SOLR_HEAP:-1024}
 | 
				
			||||||
        - SKIP_SOLR=${SKIP_SOLR:-y}
 | 
					        - SKIP_SOLR=${SKIP_SOLR:-y}
 | 
				
			||||||
      networks:
 | 
					      networks:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user