Improve the Docker image build process.  Closes #224.