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://cdxtjz.com/article/gpsoho.html