mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-11-03 20:07:27 +00:00 
			
		
		
		
	* add hadolint for dockerfile linting * add hadofile config * add checks for dockerfiles and shellcheck into makefile * shellcheck fixes * add workaround so that .env can be sourced again from version.sh * hadolint fixes * print progress of build/run.sh * fix check for jq in setup.sh relates to #41 and #26
		
			
				
	
	
		
			15 lines
		
	
	
		
			523 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			523 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
from alpine:3.8 as builder
 | 
						|
RUN apk add --no-cache \
 | 
						|
        git make
 | 
						|
RUN mkdir -p /web/oidc-playground /web/kapi-playground
 | 
						|
RUN git clone https://stash.kopano.io/scm/~seisenmann/oidc-playground.git
 | 
						|
RUN mv oidc-playground/www/* /web/oidc-playground
 | 
						|
RUN git clone https://stash.kopano.io/scm/kc/kapi.git
 | 
						|
RUN mv kapi/examples/* /web/kapi-playground
 | 
						|
WORKDIR /web/kapi-playground
 | 
						|
RUN rm Makefile && ln -s oidc-client-example.html index.html
 | 
						|
 | 
						|
from halverneus/static-file-server:v1.5.2
 | 
						|
env PORT 8888
 | 
						|
COPY --from=builder /web /web
 |