Add Dockerfile
This commit is contained in:
		
							
								
								
									
										15
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
FROM debian:latest
 | 
			
		||||
 | 
			
		||||
ARG ZOLA_VERSION="0.18.0"
 | 
			
		||||
ARG CHORDPRO_VERSION="6.050"
 | 
			
		||||
 | 
			
		||||
RUN apt update -y && apt-get install -y --no-install-recommends \
 | 
			
		||||
    ca-certificates openssl openssh-client rsync git wget build-essential cpanminus ghostscript
 | 
			
		||||
RUN update-ca-certificates
 | 
			
		||||
RUN cpanm chordpro@${CHORDPRO_VERSION}
 | 
			
		||||
RUN wget https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
 | 
			
		||||
    tar -xvzf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
 | 
			
		||||
    mv zola /usr/local/bin/zola && \
 | 
			
		||||
    rm zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz
 | 
			
		||||
 | 
			
		||||
CMD ["/bin/sh"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user