The very innocuous Dockerfile entry
FROM armv7/armhf-ubuntu RUN apt-get update
is throwing the following error:
The command '/bin/sh -c apt-get update' returned a non-zero code: 139
Now, this is on a completely unadulterated Docker 1.7 install and converting it to,
CMD [ "/bin/dash", "-c", "apt-get", "update" ]
works just fine but there’s no way I’m doing this for multi-line commands installing lots of packages. Changing the shell (from dash) to bash makes no difference; it appears to be that ‘sh -c’ wants the command and all arguments as one string but that isn’t what it’s getting.
So, rather than just getting on with doing the tasks I actually want, I have to chase down some stupid setting or version error.
Maybe I should have switched to Unikernels.