Glass or Aluminum?

If I was buying a 12 pack, would it be better for the environment if i bought glass bottles or aluminum cans? ? ?

-Factor in things like: Decomposition time, Energy used to create the bottles or cans, any pollution emitted while producing them, etc.

which is better?