A primary school is asking people to bring in their used food containers and water bottles as it competes to win playground equipment.