Let $X$ be a locally compact Hausdorff space, and $F\subset X$ compact.
I want to extend $\chi_{F}$ to a non-negative continuous functional $f$ whose support is relatively compact (I'm working through construction of a measure from a linear functional).
This is obviously possible if $X = \mathbb{R}$, and probably just as easy if $X$ is metrizable. But in this general setting I can't come up with a construction.
Do I need to draw on some existence result or is there a nice way to come up with this?
$\bf{\text{Edit:}}$
It turns out all I needed was a continuous $f:X\to[0,\infty]$ with relatively compact support which is $\geq 1$ on all of $F$. I think I have constructed one in my answer below.
Corrections are very much appreciated.