Using Docker Alpine images

This faq answers common questions related to using Alpine on Wercker. Most issues are caused by the minimal nature of the images, which is why most issues are also applicable to other minimal containers, such as BusyBox.

I receive a “context canceled” error when using an Alpine container

This error occurs during the setup environment step, and is caused by the fact that we use /bin/bash to run the steps. Alpine doesn’t contain the bash shell, so it fails.

Wercker doesn’t require bash. You can instead use sh. You’re able to override the cmd that Wercker uses by specifying the cmd property in the box section:

    id: alpine
    cmd: /bin/sh