温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

GraphicsMagick镜像制作

发布时间:2020-06-03 14:47:39 来源:网络 阅读:351 作者:一王小可一 栏目:系统运维


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/*


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI