Automated build error due to TLS handshake time out : How can I prevent this?

I just tried my first automated build, but I was met with an error from the start even though everything builds just fine locally. The error occurs at the first step, when starting

FROM alpine:latest

The error states:

error pulling image configuration: Get https://docker-images-prod.s3.amazonaws.com … : TLS handshake timeout

I’ve searched long and hard, but I have no clue what on earth I’m doing wrong. Anyone who can help me out?

Link to the build : Docker

Apparently this cannot really be prevented, as this likely was an upstream hiccup. I triggered the build again after an hour, and everything went smooth.