Let $\overline{\mathbb{F}_q}$ be the algebraic closure of the finite field on $q=p^r$ elements, and $\text{Gal}(\overline{\mathbb{Q}}/\mathbb{Q})$ the absolute Galois group with the profinite topology.
Why is it true that every continuous homomorphism, $$\rho \colon \text{Gal}(\overline{\mathbb{Q}}/\mathbb{Q}) \to \text{GL}_n(\overline{\mathbb{F}_q})$$ has finite image?
I understand that in the case of complex representations, $\rho \colon \text{Gal}(\overline{\mathbb{Q}}/\mathbb{Q}) \to \text{GL}_n(\mathbb{C})$, one can use the fact that there exists open neighbourhoods of $I_n\in \text{GL}_n(\mathbb{C})$ which contain no non-trivial subgroups. This means that $\rho$ has an open kernel, which implies that the image is finite. But I don't think the same method will work for the $\pmod p$ case.
Thanks,
Assuming $GL_n(\overline{\mathbb{F}}_q)$ is discrete, note that $\ker \rho= \rho^{-1}(1)$ is open in $G_\mathbb{Q}$. By Galois Theory, it follows that $L=\overline{\mathbb{Q}}^{\ker \rho}$ is a finite Galois extension of $\mathbb Q$ and $G_L=\ker \rho$. Hence $ \text{im}\, \rho\cong \text{Gal}(L/\mathbb{Q}) $ is finite.