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