1. FROM centos:latest ONBUILD RUN echo Hallo > /var/www/html/index.html ONBUILD RUN rm /etc/httpd/conf.d/welcome.conf RUN yum -y install httpd CMD /usr/sbin/httpd -D FOREGROUND 2. FROM gruppe4:latest HEALTHCHECK --interval=10s --timeout=3s --resries=1 CMD curl -f http://localhost/ || exit 1 LABEL version="0.1" LABEL description="Dies ist ein Test LABEL" LABEL vendor="Linuxhotel" STOPSIGNAL 9 CMD /usr/sbin/httpd -D FOREGROUND