# Use Ubuntu 18.04 as base image. FROM ubuntu:18.04 # Maintainer of the Dockerfile MAINTAINER netwerkbeheer # Run the installation RUN apt-get update \ && apt-get -y install lighttpd wget \ && cd / && wget -N https://raw.githubusercontent.com/stdnwbeheer/lighttp/master/deps/docker-entrypoint.sh -P / \ && cd / && chown root:root docker-entrypoint.sh && chmod +x docker-entrypoint.sh \ && apt-get -y purge wget \ && apt-get -y autoremove \ && apt-get -y autoclean \ && apt-get -y clean # Expose port 80 to the host. EXPOSE 80 # Set the entrypoint script. ENTRYPOINT ["/docker-entrypoint.sh"]