mirror of
				https://github.com/casjaysdevdocker/lighttpd
				synced 2025-11-04 07:02:12 -05:00 
			
		
		
		
	🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
		
							
								
								
									
										44
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
FROM casjaysdev/php:latest as lighttpd
 | 
			
		||||
 | 
			
		||||
# Setup apache and php
 | 
			
		||||
RUN apk -U upgrade && \
 | 
			
		||||
  apk --no-cache \
 | 
			
		||||
  add \
 | 
			
		||||
  lighttpd \
 | 
			
		||||
  lighttpd-mod_auth \
 | 
			
		||||
  lighttpd-mod_webdav && \
 | 
			
		||||
  mkdir -p /htdocs /config
 | 
			
		||||
 | 
			
		||||
COPY ./bin/entrypoint-lighttpd.sh /usr/local/bin/entrypoint-lighttpd.sh
 | 
			
		||||
 | 
			
		||||
FROM lighttpd
 | 
			
		||||
ARG BUILD_DATE="$(date +'%Y-%m-%d %H:%M')" 
 | 
			
		||||
 | 
			
		||||
LABEL \
 | 
			
		||||
  org.label-schema.name="lighttpd" \
 | 
			
		||||
  org.label-schema.description="lighttpd webserver with php8" \
 | 
			
		||||
  org.label-schema.url="https://github.com/casjaysdev/lighttpd" \
 | 
			
		||||
  org.label-schema.vcs-url="https://github.com/casjaysdev/lighttpd" \
 | 
			
		||||
  org.label-schema.build-date=$BUILD_DATE \
 | 
			
		||||
  org.label-schema.version=$BUILD_DATE \
 | 
			
		||||
  org.label-schema.vcs-ref=$BUILD_DATE \
 | 
			
		||||
  org.label-schema.license="MIT" \
 | 
			
		||||
  org.label-schema.vcs-type="Git" \
 | 
			
		||||
  org.label-schema.schema-version="1.0" \
 | 
			
		||||
  org.label-schema.vendor="CasjaysDev" \
 | 
			
		||||
  maintainer="CasjaysDev <docker-admin@casjaysdev.com>" 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
LABEL maintainer="CasjaysDev <docker-admin@casjaysdev.com>" \
 | 
			
		||||
  description="Alpine based image with lighttpd and php8."
 | 
			
		||||
 | 
			
		||||
ENV PHP_SERVER=lighttpd
 | 
			
		||||
 | 
			
		||||
EXPOSE 80
 | 
			
		||||
 | 
			
		||||
WORKDIR /htdocs
 | 
			
		||||
VOLUME [ "/htdocs", "/config" ]
 | 
			
		||||
 | 
			
		||||
HEALTHCHECK CMD ["/usr/local/bin/entrypoint-lighttpd.sh", "healthcheck"]
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/usr/local/bin/entrypoint-lighttpd.sh"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user