pipelines fail with custom docker image

I have a custom docker image on docker hub: salmantariq/node_mysql. It has MySQL server installed on it and node via nvm. I get the following error. I am sure I am missing something here but don’t know what.

{
bash: cannot set terminal process group (9): Not a ttybash: no job control in this shell+ umask 000+ git clone --branch="user-login-error-fix" --depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/diligensoftware/web.git $BUILD_DIR ; git reset --hard ed570209d7a4a1d7b29fe09d9dd7909ed42ed65e ; git remote set-url origin https://x-token-auth:{access_token}@bitbucket.org/diligensoftware/web.gitCloning into '/opt/atlassian/pipelines/agent/build'...HEAD is now at ed57020 configuring test+ chmod 777 $BUILD_DIRbash: cannot set terminal process group (9): Inappropriate ioctl for devicebash: no job control in this shell
}

  • Unable to modify file as part of entry point command
  • boot2docker command works on shell, but not in script
  • Accessing the number of arguments pass into a docker run command script
  • Docker run command error
  • Detach from docker run from script without killing container
  • Cannot exec into docker container due to application
  • Ruby: Catching Sequel::DatabaseConnectionError
  • How to ssh into docker-machine VirtualBox instance?
  • docker info command doesn't show anything in ec2 Instance
  • Access to Docker container
  • Docker cannot acces registry from openshift
  • Get Swarm node IP address from a container using API?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.