Docker Community Forums

Share and learn in the Docker community.

Debugging a "Your image failed to build in Docker Cloud" check failure on Github PRs


(Lpnotes) #1

Hello! I am using Docker Cloud, and I have it hooked up to a Github repository so that new PRs will trigger automatic builds. The build is succeeding, but the check on the Github PR screen fails every time with a ci/dockercloud Your image failed to build in Docker Cloud message.

Here is my Docker file (

FROM node:8-alpine
ADD package.json .
ADD src ./src
ADD test ./test
RUN npm i
CMD ["npm", "run", "start:dev"]

And the docker-compose.test.yml file:
build: .
command: npm run test

An example PR where the check has failed:

When I click through the “Details” link, though the build says SUCCESS.

In the logs, the only red error messages I see are:

npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm notice created a lockfile as package-lock.json. You should commit this file.

Can anyone help?