boolne

第 1088 位会员

会员
个人信息
  • 加入于 2019-04-13 14:41:16
  • 最后登录时间 4年前
个人成就
  • 发表文章次数 1
  • 发布回复次数 1
  • 个人主页浏览次数 1
vultr日本主机centos7 docker-compose build时Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease5年前
FROM php:7.1.13-fpm

RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list

# Install modules
RUN apt-get update && apt-get install -y \
        libfreetype6-dev \
        librabbitmq-dev \
        libssh-dev \
        libjpeg62-turbo-dev \
        libmcrypt-dev \
        libpng12-dev \

在“install modules”和from之间插入中间那段代码就可以了,解决办法来源(https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease/1424377)

Your Site Analytics