Unable to build docker image based on node:4.2.2-slim

Our project is setup to use the Mac environment, due to using Xcode and all, which works fine, but the additional step of building our server component has started failing recently.

Our server component is built on top of the node:4.2.2-slim image from docker, and when we run “docker build .” we get the following output:

Sending build context to Docker daemon 77.82 kB
Step 1 : FROM node:4.2.2-slim
Get https://registry-1.docker.io/v2/library/node/manifests/4.2.2-slim: read tcp> read: connection reset by peer

This same command works fine on our local machines, but fails every time on the CircleCI Mac server currently.

Accessing the CircleCI machine and running “docker pull node:4.2.2-slim” also fails, however “docker pull node:4.2.2” works… Quite confused right now. Any ideas?


FROM node:4.2.2-slim

ADD ./ /app

RUN rm -rf node_modules && npm install

EXPOSE 3000:3000

CMD [“node”, “server.js”]