Simplify Dockerfile

Use ruby-build to pull and compile ruby instead of direct URL. Have the build-essential stuff get removed at the end.