mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-30 18:07:46 +00:00 
			
		
		
		
	* add scheduler container for gabsync Adds a general scheduler container to trigger tasks within containers. Also adds gabsync to zpush image * make scheduler dynamic execute each cron job once at startup to see if they would succeed * remove services scripts from core container (now is part of the scheduler) * add "CRONDELAY" for tasks that should not be executed at startup * add documentation * clear out crontab at startup
		
			
				
	
	
		
			18 lines
		
	
	
		
			651 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			651 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM docker:18.09.1
 | |
| 
 | |
| RUN apk --no-cache add bash
 | |
| 
 | |
| ENV SUPERCRONIC_VERSION 0.1.8
 | |
| RUN wget https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-amd64 \
 | |
|     -O /usr/local/bin/supercronic \
 | |
|     && chmod +x /usr/local/bin/supercronic
 | |
| 
 | |
| ENV DOCKERIZE_VERSION v0.6.1
 | |
| RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
 | |
|     && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
 | |
|     && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
 | |
| 
 | |
| COPY start.sh /usr/local/bin/
 | |
| 
 | |
| CMD ["start.sh"]
 |