Created
July 2, 2020 13:38
-
-
Save insidenothing/b5b77c84c145080171bae40b67fbfc85 to your computer and use it in GitHub Desktop.
Possible Dependencies
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 centos:8 | |
MAINTAINER Patrick McGuire (mcguire@mdwestserve.com) | |
# has issues sometimes | |
ARG CACHEBUST=2 | |
RUN yum -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm | |
RUN sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/remi.repo | |
RUN yum -y update | |
# works good | |
RUN yum -y update | |
RUN yum -y install wget | |
RUN yum -y install dnf-plugins-core | |
RUN dnf config-manager --set-enabled PowerTools | |
RUN yum list *python*pip* | |
RUN yum -y install python3-pip | |
RUN pip3 install boto3 | |
RUN pip3 install mysql-connector | |
RUN yum -y install \ | |
man \ | |
curl \ | |
unzip \ | |
nmap \ | |
logwatch \ | |
ghostscript \ | |
git | |
RUN yum list ImageMagick | |
RUN yum -y install ImageMagick | |
RUN yum -y install \ | |
httpd \ | |
libmcrypt \ | |
php72 | |
RUN yum -y install \ | |
php72-php-devel \ | |
libmcrypt-devel \ | |
php72-php-soap | |
RUN yum -y install \ | |
php72-php-mysqlnd \ | |
mod_ssl \ | |
php72-php-mbstring \ | |
gd \ | |
php72-php-gd \ | |
php72-php-pecl-trader | |
RUN yum -y groupinstall \ | |
'Development Tools' | |
RUN yum -y install \ | |
autoconf gnutls-devel libjpeg-devel libpng-devel zlib-devel | |
RUN mkdir htmldoc; cd htmldoc; wget https://github.com/michaelrsweet/htmldoc/archive/master.zip; unzip master.zip; cd htmldoc-master; ./configure; make; make install | |
RUN yum -y install \ | |
php72-php-odbc \ | |
poppler-utils | |
RUN yum -y install \ | |
glibc \ | |
e2fsprogs \ | |
krb5-libs \ | |
openssl \ | |
tree \ | |
openssl-devel | |
RUN curl https://packages.microsoft.com/config/rhel/8/prod.repo > /etc/yum.repos.d/mssql-release.repo | |
RUN yum remove unixODBC-utf16 unixODBC-utf16-devel | |
RUN ACCEPT_EULA=Y yum -y install msodbcsql17 | |
RUN yum -y install unixODBC-devel | |
RUN yum -y install \ | |
php72-php-xml | |
RUN yum -y install \ | |
php72-php-xdiff | |
ADD settings/pear /root | |
RUN cd /root; php72 go-pear.phar | |
RUN cd /root; /opt/remi/php72/root/usr/bin/pear install Net_Socket-v1.2.1.tar.gz | |
RUN cd /root; /opt/remi/php72/root/usr/bin/pear install Auth_SASL-v1.1.0.tar.gz | |
RUN cd /root; /opt/remi/php72/root/usr/bin/pear install Net_SMTP-1.8.1.tgz | |
RUN cd /root; /opt/remi/php72/root/usr/bin/pear install Mail-v1.4.1.tar.gz | |
RUN /opt/remi/php72/root/usr/bin/pear install Mail_Mime-1.10.2 | |
RUN yum -y install php72-php-pecl-mcrypt | |
ADD settings/sendmail /usr/sbin/sendmail | |
RUN chmod +x /usr/sbin/sendmail | |
RUN git clone --recursive git://git.ghostscript.com/mupdf.git; cd mupdf; git submodule update --init; make --ignore-errors HAVE_X11=no HAVE_GLUT=no prefix=/usr/local install | |
RUN yum -y install php72-mod_php | |
RUN ln -s /opt/remi/php72/root/usr/sbin/php-fpm /usr/sbin/php-fpm | |
RUN touch /var/opt/remi/php72/log/php-fpm/www-error.log | |
RUN echo "ServerName localhost" >> /etc/httpd/conf/httpd.conf | |
RUN yum -y install php72-php-imap | |
RUN yum -y install xorg-x11-fonts* | |
RUN rpm -i https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos8.x86_64.rpm | |
RUN yum -y install \ | |
php72-php-gmp \ | |
gmp-devel | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment