From 87f3f9db47af57b0075d8d3801c3f78593910bff Mon Sep 17 00:00:00 2001 From: Fernando Lozano <flozano@redhat.com> Date: Fri, 07 Jul 2017 15:01:53 +0200 Subject: [PATCH] Dockerfile sample --- httpd-image/Dockerfile | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/httpd-image/Dockerfile b/httpd-image/Dockerfile new file mode 100644 index 0000000..2d585d7 --- /dev/null +++ b/httpd-image/Dockerfile @@ -0,0 +1,13 @@ +FROM rhel7.3 + +MAINTAINER Your Name <youremail> +LABEL description="A basic Apache HTTP server container on RHEL 7" + +RUN yum -y update && \ + yum install -y httpd && \ + yum clean all + +EXPOSE 80 + +ENTRYPOINT ["httpd"] +CMD ["-D", "FOREGROUND"] -- Gitblit v1.9.3