File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1515#
1616FROM --platform=$TARGETPLATFORM centos:7
1717
18- # install HTTPD
18+ # Install HTTPD
1919RUN yum -y update && yum -y install httpd mod_ssl procps haproxy iputils tree telnet && yum clean all
2020
21- # remove default CentOS config
21+ # Remove default CentOS config
2222RUN rm -rf /etc/httpd/conf/* && rm -rf /etc/httpd/conf.d/* && rm -rf /etc/httpd/conf.modules.d/*
2323
24- # Copy the AMS base files into the image.
24+ # Copy the AMS base files into the image.
2525COPY ams/2.6/etc/httpd /etc/httpd
2626# Setup sample configs
2727COPY sample/weretail_filters.any /etc/httpd/conf.dispatcher.d/filters/weretail_filters.any
2828COPY sample/weretail_publish_farm.any /etc/httpd/conf.dispatcher.d/available_farms/100_weretail_publish_farm.any
2929
30+ # Copy haproxy config
31+ COPY haproxy/haproxy.cfg /etc/haproxy
32+
3033# Install dispatcher
3134ARG TARGETARCH
3235COPY scripts/setup.sh /
3336RUN chmod +x /setup.sh
34- # ensuring correct file ending on windows systems
37+ # Ensuring correct file ending on windows systems
3538RUN sed -i -e 's/\r\n /\n /' /setup.sh
3639RUN ./setup.sh
3740RUN rm /setup.sh
3841
39-
4042COPY scripts/launch.sh /
41- # ensuring correct file ending on windows systems
43+ # Ensuring correct file ending on windows systems
4244RUN sed -i -e 's/\r\n /\n /' /launch.sh
4345RUN chmod +x /launch.sh
4446
You can’t perform that action at this time.
0 commit comments