City to enter inmate housing agreement