我正在尝试创建具有以下内容的docker镜像:
在我的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