Compressor with tank and air dryer