Dockerfile - Debian apt-get php-xdebug失败

时间:2017-03-24 16:41:22

标签: xdebug dockerfile apt-get

我正在尝试创建具有以下内容的docker镜像:

  • PHP7
  • apache2的
  • GIT中
  • Xdebug的

在我的dockerfile中,我有官方的php7,以apache图像为基础。 我可以运行apt-get update。 我已经成功安装了git。 但是当我运行apt-get install -y php-xdebug时,我得到以下内容:

E: Unable to locate package php-debug

Dockerfile:

FROM php:7.0-apache

RUN apt-get update && apt-get install -y git

RUN apt-get install -y php-xdebug

0 个答案:

没有答案