1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
FROM httpd EXPOSE 80 EXPOSE 443 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update RUN apt-get install -y \ cgit \ python3 vim RUN : \ && a2enmod cgi COPY docker-init.py / COPY docker-entrypoint.sh / ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["init"]