Deleting all apps apart from those used in Ch1 and Ch2 labs
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
FROM registry.access.redhat.com/rhel7:7.6
|
||||
|
||||
RUN
|
||||
rpm --rebuilddb && \
|
||||
yum install -y --setopt=tsflags=nodocs rh-nginx18 \
|
||||
&& yum clean all
|
||||
|
||||
ADD index.html /opt/rh/rh-nginx18/root/usr/share/nginx/html
|
||||
|
||||
ADD nginxconf.sed run.sh /tmp/
|
||||
RUN sed -i -f /tmp/nginxconf.sed /etc/opt/rh/rh-nginx18/nginx/nginx.conf
|
||||
|
||||
RUN chown -R 1001:0 /var/opt/rh/rh-nginx18 /opt/rh/rh-nginx18 && \
|
||||
chmod -R a+rx,g+rwx /var/opt/rh/rh-nginx18 /opt/rh/rh-nginx18
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
USER 1001
|
||||
|
||||
ENTRYPOINT ["/tmp/run.sh"]
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>Hello, world from nginx!</h1>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,4 +0,0 @@
|
||||
s/^ listen 80/ listen 8080/
|
||||
s/^user nginx;//
|
||||
s%/var/opt/rh/rh-nginx18/log/nginx/error.log%stderr%
|
||||
s%access_log /var/opt/rh/rh-nginx18/log/nginx/access.log main;%%
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
source scl_source enable rh-nginx18
|
||||
exec nginx -g "daemon off;"
|
||||
@@ -1,54 +0,0 @@
|
||||
[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