Apologies for the misinterpretation. I thought you were speaking of all prison jobs, though I don't think it makes much of a difference. From an ACLU report[1] on prison labor in the US which covers both labor for prison upkeep and labor for producing goods to be sold or providing services for companies or governments:
> They work as cooks, dishwashers, janitors, groundskeepers, barbers, painters, or plumbers; in laundries, kitchens, factories, and hospitals. They provide vital public services such as repairing roads, fighting wildfires, or clearing debris after hurricanes. They washed hospital laundry and worked in mortuary services at the height of the pandemic. They manufacture products like office furniture, mattresses, license plates, dentures, glasses, traffic signs, athletic equipment, and uniforms. They cultivate and harvest crops, work as welders and carpenters, and work in meat and poultry processing plants.
> From the moment they enter the prison gates, they lose the right to refuse to work. [...] More than 76 percent of incarcerated workers report that they are required to work or face additional punishment such as solitary confinement, denial of opportunities to reduce their sentence, and loss of family visitation, or the inability to pay for basic life necessities like bath soap. They have no right to choose what type of work they do and are subject to arbitrary, discriminatory, and punitive decisions by the prison administrators who select their work assignments.
[1] https://www.aclu.org/wp-content/uploads/publications/2022-06... (relevant quotes are found on page 5)