Closed nshaud closed 8 years ago
When trying to build the cozy Docker image from the repo, it fails with "Container command '/bin/sh' not found or does not exist".
$ sudo docker build -t cozy/full github.com/cozy-labs/cozy-docker Sending build context to Docker daemon 109.6 kB Step 1 : FROM ubuntu:14.04 14.04: Pulling from library/ubuntu 6c953ac5d795: Already exists 3eed5ff20a90: Already exists f8419ea7c1b5: Already exists 51900bc9e720: Already exists a3ed95caeb02: Already exists Digest: sha256:97421885f3da3b23f52eeddcaa9f8f91172a8ac3cd5d3cd40b51c7aad09f66cc Status: Downloaded newer image for ubuntu:14.04 ---> 8f1bd21bd25c Step 2 : ENV DEBIAN_FRONTEND noninteractive ---> Running in 8f8e8803c10f ---> bd70d7b9d3b6 Removing intermediate container 8f8e8803c10f Step 3 : RUN echo "deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main" >> /etc/apt/sources.list && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C && apt-get update --quiet && apt-get install --quiet --yes build-essential couchdb curl git imagemagick language-pack-en libffi6 libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg-dev lsof nginx postfix pwgen python-dev python-pip python-setuptools python-software-properties software-properties-common sqlite3 wget ---> Running in 46d9dc0d21f7 Container command '/bin/sh' not found or does not exist.
Well, seems that upgrading the Ubuntu 14.04 Docker image fixed it.
When trying to build the cozy Docker image from the repo, it fails with "Container command '/bin/sh' not found or does not exist".