alpine:3.4 only contains a docker image for arm64, so building for other architectures doesn't work. The newest alpine relases, 3.9, is therefore better.