
ショコラ
docker-php-ext-install curl を実行したらエラーになった
「libcurl4-gnutls-dev」パッケージをインストールしてからキメマス。
パッケージがわかりずらかったのかな。

もっさん先輩
手順
- libcurl4-gnutls-dev をインストールします。
apt-get install -y --no-install-recommends libcurl4-gnutls-dev
- docker-php-ext-install curl を実行します。
docker-php-ext-install curl
シチュエーション
docker-php-ext-install curl
checking for libcurl >= 7.29.0... no
configure: error: Package requirements (libcurl >= 7.29.0) were not met:
No package 'libcurl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CURL_CFLAGS
and CURL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.