Can't install nodejs 16

Refer below docker file content. I am trying to install nodejs 16 but it is installing node js 12.

FROM jenkins/inbound-agent:jdk11 AS base


USER root

RUN apt update && apt --yes upgrade && apt --yes install curl

RUN apt update
&& apt --yes install apt-transport-https ca-certificates gnupg-agent software-properties-common lxc

RUN apt update \
&& apt --yes install jq
&& apt install git

RUN curl -sL | bash -
RUN apt update -y
RUN apt install -y nodejs

RUN node --version

ENTRYPOINT [“jenkins-agent”]

this commands to base apt repo from the base image.
you may have to update the repo to install desired version