initial commit with apps from course repo
This commit is contained in:
19
apache-httpd/Dockerfile
Normal file
19
apache-httpd/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM registry.access.redhat.com/rhel7:7.6
|
||||
|
||||
RUN rpm --rebuilddb && \
|
||||
yum install -y httpd \
|
||||
&& yum clean all
|
||||
|
||||
ADD index.html /var/www/html
|
||||
|
||||
RUN sed -i 's/Listen 80/Listen 8080/' /etc/httpd/conf/httpd.conf \
|
||||
&& chgrp -R 0 /var/log/httpd /var/run/httpd \
|
||||
&& chmod -R g=u /var/log/httpd /var/run/httpd
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
USER 1001
|
||||
|
||||
ENTRYPOINT ["httpd"]
|
||||
CMD ["-D", "FOREGROUND"]
|
||||
|
||||
5
apache-httpd/index.html
Normal file
5
apache-httpd/index.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>Hello, World!</h1>
|
||||
</body>
|
||||
</html>
|
||||
54
apache-httpd/training.repo
Normal file
54
apache-httpd/training.repo
Normal file
@@ -0,0 +1,54 @@
|
||||
[rhel-7-dvd]
|
||||
baseurl = http://content.example.com/rhel7.6/x86_64/dvd
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL DVD
|
||||
|
||||
[rhel-server-rhscl-7-rpms]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rhelrhscl
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHSCL
|
||||
|
||||
[rhel-7-server-datapath-rpms]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rheladditional/rhel-7-fast-datapath-rpms
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL 7.6 Datapath Packages
|
||||
|
||||
[rhel-7-server-ansible-26]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rheladditional/rhel-7-server-ansible-2.6-rpms
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL 7.6 Ansible Packages
|
||||
|
||||
[rhel-7-server-extras-rpms]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rheladditional/rhel-7-server-extras-rpms
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL 7.6 Extra Packages
|
||||
|
||||
[rhel-7-server-common-rpms]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rheladditional/rhel-7-server-rh-common-rpms
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL 7.6 Common Packages
|
||||
|
||||
[rhel-7-server-supplementary]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rhelsupplementary
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL 7.6 Supplementary Packages
|
||||
|
||||
[rhel-7-server-optional-rpms]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rhelopt
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL 7.6 Optional Packages
|
||||
|
||||
[rhel-7-server-updates]
|
||||
baseurl = http://content.example.com/ocp4.0/x86_64/rhelupdates
|
||||
enabled = true
|
||||
gpgcheck = false
|
||||
name = Remote classroom copy of RHEL 7.6 Updates
|
||||
|
||||
Reference in New Issue
Block a user