How to do a none interactive pecl install stomp

I’m trying to install stomp php extension as part of a Dockerfile.

pecl install has a stomp asking weather to install with openssl extensions, since its all on internal traffic the answer is no so my command looks like

  • Why Jenkins not stored data?
  • How to start a docker container (ubuntu image)
  • What is the '.save_docker/' folder? Can I delete it?
  • docker volume mount directory in windows
  • How to enable Docker API access from Windows running Docker Toolbox (docker machine)
  • Docker mongo image always save the data inside /data/db directory
  • RUN printf “\no” | pecl install stomp

    But that doesn’t seem to pipe to the prompt, is there any better why of doing this?

  • How can I provide application config to my .NET Core Web API services running in docker containers?
  • Prometheus - how to monitor other docker containers
  • Docker containers having trouble exposing ports to host on Mac
  • How to expose port from host to container in Docker?
  • Elasticbeanstalk only sometimes pulls new Docker container?
  • docker-compose doesn't build image from latest commit of git repository
  • One Solution collect form web for “How to do a none interactive pecl install stomp”

    You seem to have a backslash in the wrong location. printf "\no" prints a linefeed (\n) and the letter “o” on a newline. You could do printf "no\n", but at that point, I’d use the more typical echo no | pecl install stomp.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.