docker

作者: 492284513d5a | 来源:发表于2020-02-17 12:07 被阅读0次

    http://hub-mirror.c.163.com

    FROM php:7.0-fpm
    
    RUN sed -i 's/deb\.debian\.org/mirrors.aliyun.com/' /etc/apt/sources.list && sed -i 's/security\.debian\.org/mirrors.aliyun.com\/debian-security/' /etc/apt/sources.list
    
    RUN apt-get update && apt-get install -y \
        --no-install-recommends \
        libfreetype6-dev \
        libjpeg62-turbo-dev \
        libmcrypt-dev \
        libpng12-dev \
     && rm -rf /var/lib/apt/lists/* \
    

    相关文章

      网友评论

          本文标题:docker

          本文链接:https://www.haomeiwen.com/subject/hdrbfhtx.html