Diesel fuel is good for about six months, so don't worry about that.
You can buy a biocide at lots of shops, both truck supply and marine supply. I've used several brands and don't know if any are better than another. Use it as directed on the label. If have a good water removal fuel additive that is OK in your engine, run that for the tank before you store the truck. Bugs grow on the interface of the fuel and water in the tank, so remove any water that might have accumulated there even if it isn't causing a problem at this time. Then add the biocide. Fuel tanks always contain some water due to condensation from humid air and water that is suspended in fuel.