成都创新互联网站制作重庆分公司

GraphicsMagick镜像制作

FROM 192.168.2.196/base/jdk_1.8
MAINTAINER wangxiaoke
MAINTAINER wangke@zhaotai.ren
WORKDIR /usr/local/src
USER root
ADD GraphicsMagick-1.3.27.tar.gz /usr/local/src/
ENV GMAGICK_HOME=/usr/local/GraphicsMagick-1.3.27 \
    LD_LIBRARY_PATH=/usr/local/GraphicsMagick-1.3.27/lib:$LD_LIBRARY_PATH \
    PATH=$PATH:/usr/local/GraphicsMagick-1.3.27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
RUN yum install -y --nogpgcheck gcc \
                                gcc-c++ \
                                make \
                                cmake \
                                autoconf \
                                automake \
                                libpng-devel \
                                libjpeg-devel \
                                libtiff-devel \
                                jasper-devel \
                                freetype-devel \
                                libtool-ltdl-devel* && \
        cd GraphicsMagick-1.3.27 && \
        ./configure  '--prefix=/usr/local/GraphicsMagick-1.3.27' \
                                '--exec-prefix=/usr/local/GraphicsMagick-1.3.27' \
                                '--bindir=/usr/local/GraphicsMagick-1.3.27/bin' \
                                '--sbindir=/usr/local/GraphicsMagick-1.3.27/sbin' \
                                '--sysconfdir=/usr/local/GraphicsMagick-1.3.27/etc' \
                                '--datadir=/usr/local/GraphicsMagick-1.3.27/share' \
                                '--includedir=/usr/local/GraphicsMagick-1.3.27/include' \
                                '--libdir=/usr/local/GraphicsMagick-1.3.27/lib' \
                                '--libexecdir=/usr/local/GraphicsMagick-1.3.27/libexec' \
                                '--localstatedir=/usr/local/GraphicsMagick-1.3.27/var' \
                                '--sharedstatedir=/usr/local/GraphicsMagick-1.3.27/share/com' \
                                '--mandir=/usr/local/GraphicsMagick-1.3.27/share/man' \
                                '--infodir=/usr/local/GraphicsMagick-1.3.27/share/info' \
                                '--enable-libtool-verbose' '--with-included-ltdl' '--enable-shared' \
                                '--disable-static' '--with-modules' '--with-frozenpaths' '--without-perl' \
                                '--without-magick-plus-plus' '--with-quantum-depth=8' --enable-symbol-prefix && \
        make && make install && \
        cd /usr/local/src && rm -rf /var/cache/yum/* /usr/local/src/*

标题名称:GraphicsMagick镜像制作
文章出自:http://cxhlcq.com/article/gpsoho.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部