A build using an image form a Dockerfile derived form the official drupal image on hub.docker.com. I have added in drush and SSH installations. The output of the build indicates that everything went as expected. ie SSH was installed, drush was installed…
When I run the buid and interactivly connect (docker exec -it live-web bash) and inspect the box, the /usr/local/bin/drush file is not there nor is ssh installed or the ssh_config files (since ssh never installed the /etc/ssh directory.) The same is true of just about everything else I install (composer, etc…) but those are commented out in the Dockerfile.
Worth noting I can install drush by hand by running the same commands directly on the interactive shell in the web container.
- the output of:
pinata diagnose -uon OSX
OS X: version 10.11.4 (build: 15E65) Docker.app: version v1.11.1-beta11 Running diagnostic tests: [OK] docker-cli [OK] Moby booted [OK] driver.amd64-linux [OK] vmnetd [OK] osxfs [OK] db [OK] slirp [OK] menubar [OK] environment [OK] Docker [OK] VT-x Docker logs are being collected into /tmp/20160517-095514.tar.gz Most specific failure is: No error was detected Your unique id is: 92A615E2-A678-4374-86C8-0E802FE1F937 Please quote this in all correspondence.
- Docker file: https://gist.github.com/jalama/6a6af4b03ac793a3ecb5ac44423c5502#file-dockerfile
- Output of build: https://gist.github.com/jalama/6a6af4b03ac793a3ecb5ac44423c5502#file-build-output
Steps to reproduce the behavior
- Create a diectory and copy the Dockerfile form above into it
- docker build --no-cache .
- docker exec -it live-web bash