Second-hand diesel compressor for mining