快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

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://6mz.cn/article/gpsoho.html

其他资讯