Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
InCommonTAP-Examples/Workbench/wordpress_server/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (27 sloc)
1.34 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM i2incommon/shibboleth_sp:3.4.1_06122023_rocky8_multiarch | |
VOLUME /var/www/html | |
COPY container_files/wordpress/sed.sh /root | |
COPY container_files/wordpress/config-shibb.sql /root | |
#COPY container_files/wordpress/wp /root | |
RUN curl -o /root/wp --url https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && chmod +x /root/wp | |
COPY container_files/wordpress/config.yml /root/.wp-cli | |
COPY container_files/wordpress/wp-cli.yml /var/www/html | |
COPY container_files/shibboleth/* /etc/shibboleth/ | |
COPY container_files/system/setservername.sh /usr/local/bin/ | |
RUN chmod +x /root/wp | |
RUN dnf module enable -y php:7.4 | |
RUN yum update -y | |
RUN yum install -y php php-cli php-common php-gd php-curl php-json php-mysqlnd php-pdo php-zip php-mbstring libwebp mariadb wget postfix nc | |
RUN rpm -Uvh https://rpms.remirepo.net/enterprise/remi-release-8.rpm | |
RUN yum --enablerepo=remi,remi-test install -y gd3php gd3php-devel php74-php-sodium | |
RUN echo 'date.timezone="UTC"' >> /etc/php.ini | |
WORKDIR /var/www/html | |
RUN chown -R apache:apache /var/www/html | |
COPY container_files/system/setservername.sh /usr/local/bin/ | |
RUN chmod 755 /usr/local/bin/setservername.sh #&& rm -f /etc/httpd/conf.d/ssl.conf | |
#set hostname | |
ARG CSPHOSTNAME=localhost | |
ENV CSPHOSTNAME=$CSPHOSTNAME | |
RUN /usr/local/bin/setservername.sh | |
RUN mkdir -p /run/php-fpm/ | |
ENV LD_LIBRARY_PATH=/opt/shibboleth/lib64 | |